]> git.ipfire.org Git - thirdparty/git.git/commit
show-branch: show reflog message
authorHan-Wen Nienhuys <hanwen@google.com>
Thu, 2 Dec 2021 17:36:29 +0000 (17:36 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Dec 2021 19:14:07 +0000 (11:14 -0800)
commitf2463490c4ee3beded70bf69e49fb23552796ddc
treeb15939229880d99a80f198785d79775dfc3c7734
parentabe6bb3905392d5eb6b01fa6e54d7e784e0522aa
show-branch: show reflog message

Before, --reflog option would look for '\t' in the reflog message. As refs.c
already parses the reflog line, the '\t' was never found, and show-branch
--reflog would always say "(none)" as reflog message

Add test.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/show-branch.c
t/t3202-show-branch.sh