Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2008-06-06 03:31:55 +0400
committerJunio C Hamano <gitster@pobox.com>2008-06-06 08:01:45 +0400
commita83123deecfdd5078c2e16166576fb17add194b2 (patch)
tree4fad04c70460716fb1539ece714288e314d6579d /Documentation/git-for-each-ref.txt
parent4ed19a3c178d22fbd424af78b42b65533a8d1ebb (diff)
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 'Documentation/git-for-each-ref.txt')
0 files changed, 0 insertions, 0 deletions