remote.c: use shorten_unambiguous_ref
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 16 Apr 2009 08:20:44 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Apr 2009 03:53:19 +0000 (20:53 -0700)
commit45972ffbedf8175555434006595c71a5b0e643f1
tree9e41ccd917c54ab0af0b9df8b97b3ef2e53a53e5
parenta45d34691ea624e93863e95706eeb1b1909304f3
remote.c: use shorten_unambiguous_ref

Use the new shorten_unambiguous_ref() for simplifying the output of
upstream branch names. This affects status and checkout.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c