diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2008-06-06 01:31:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-05 21:01:45 -0700 |
commit | a83123deecfdd5078c2e16166576fb17add194b2 (patch) | |
tree | 4fad04c70460716fb1539ece714288e314d6579d /t/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-raw_initial | |
parent | describe: match pattern for lightweight tags too (diff) | |
download | tgif-a83123deecfdd5078c2e16166576fb17add194b2.tar.xz |
name-rev: Fix segmentation fault when using --all
In commit da2478db "describe --always: fall back to showing an
abbreviated object name" we lost the check that skips empty entries in
the object hash table when iterating over it in cmd_name_rev. That may
cause a NULL pointer being handed to show_name(), leading to a
segmentation fault. So add that check back again.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty=oneline_--root_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions