show-branch: Be nicer when running in a corrupt repository.
authorJunio C Hamano <junkio@cox.net>
Mon, 19 Sep 2005 08:12:18 +0000 (01:12 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Sep 2005 02:20:26 +0000 (19:20 -0700)
commit0a2ba73860211efec479396c33ba381056715be5
tree4633b3a50abee001a1373517308fa6d1242d0749
parent1f961c196cbb475e612a4fb082b33efde71e7a03
show-branch: Be nicer when running in a corrupt repository.

We may end up trying to print a commit we do not actually have but we
know about its existence only because another commit we do have refers
to it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
(cherry picked from b204feab9371040982d2c60611925e7693106c84 commit)
show-branch.c