]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
show_one_mergetag: print non-parent in hex form.
authorHarald van Dijk <harald@gigawatt.nl>
Sat, 29 Feb 2020 13:07:57 +0000 (13:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Mar 2020 20:34:00 +0000 (12:34 -0800)
commit237a28173feffc9bdec5aa669aa17fba1ac7c279
treeb1733ece07384ae88acf34c6bf89599a3792b5c1
parentd9589d4051537c387b70dc76e430c61b4c85a86d
show_one_mergetag: print non-parent in hex form.

When a mergetag names a non-parent, which can occur after a shallow
clone, its hash was previously printed as raw data. Print it in hex form
instead.

Signed-off-by: Harald van Dijk <harald@gigawatt.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
t/t4202-log.sh