remote: refactor some logic into get_stale_heads()
authorJay Soffian <jaysoffian@gmail.com>
Tue, 10 Nov 2009 05:03:31 +0000 (00:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2009 09:01:22 +0000 (01:01 -0800)
commitf2ef6075c9d248523bf658d82065b46d892b5601
tree7524f95071bc2ec11b2bc8a02e698714af17947e
parente2d41c64bfbea592daeb3a065f1aa3900a03e07f
remote: refactor some logic into get_stale_heads()

Move the logic in builtin-remote.c which determines which local heads are stale
to remote.c so it can be used by other builtins.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c
remote.c
remote.h