describe: re-fix display_name()
commit3167d7256505cdeace5293bc67f0d16657a9277e
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 23:54:23 +0000 (3 15:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 23:54:23 +0000 (3 15:54 -0800)
treeb4d223f8d8ebf4bdd36a769e7957b8b8cde40880
parent870cf7d69872ebc925989b400fb4e7031870db5f
describe: re-fix display_name()

It is implausible for lookup_tag() to return NULL in this particular
codepath but we should protect ourselves against a broken repository
better.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-describe.c