Code

remote show: fix the -n option
authorOlivier Marin <dkr@freesurf.fr>
Tue, 10 Jun 2008 14:51:08 +0000 (16:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jun 2008 05:30:01 +0000 (22:30 -0700)
commit0ecfcb3b700e7e3097a55f015894ad75f1097090
treeddf0505acd318b58dfc6dcbd9dfecc3c9a3d83e4
parentea81e10ff4e31820407f4cb1b8ebd87de9e51737
remote show: fix the -n option

The perl version accepted a -n flag, to show local informations only
without querying remote heads, that seems to have been lost in the C
revrite.

This restores the older behaviour and add a test case.

Signed-off-by: Olivier Marin <dkr@freesurf.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin-remote.c
t/t5505-remote.sh