]> git.ipfire.org Git - thirdparty/git.git/commit
Pull out remote listing functions in git-remote.
authorShawn O. Pearce <spearce@spearce.org>
Fri, 2 Feb 2007 05:05:55 +0000 (00:05 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 2 Feb 2007 06:03:42 +0000 (22:03 -0800)
commit7a8c9ec1a95a368c5f32d430058d67109feccfee
treeec2b93fc26297b12030d0f76b5f7357dd94f9af6
parent22600a2515cc92f66fd76f2aae05637697c713b9
Pull out remote listing functions in git-remote.

I want to reuse the stale branch detection to implement a new
'git remote prune' subcommand.  Easiest way to do that is to use
the same logic that 'git remote show' uses to determine the stale
tracking branches, then delete those.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-remote.perl