builtin-remote: split show_or_prune() in two separate functions
authorOlivier Marin <dkr@freesurf.fr>
Tue, 10 Jun 2008 14:51:21 +0000 (16:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jun 2008 05:43:05 +0000 (22:43 -0700)
commit67a7e2d07162dc470f7e3ae1889aad146e5b7917
tree2455e22ee3401bb791fc9784a227331e643b2543
parent0ecfcb3b700e7e3097a55f015894ad75f1097090
builtin-remote: split show_or_prune() in two separate functions

This allow us to add different features to each of them and keep the
code simple at the same time. Also create a get_remote_ref_states()
to avoid duplicated code.

Signed-off-by: Olivier Marin <dkr@freesurf.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c