]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
pretty: add pointer and tag options to %(decorate)
authorAndy Koppe <andy.koppe@gmail.com>
Sun, 20 Aug 2023 18:50:08 +0000 (19:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Aug 2023 18:40:10 +0000 (11:40 -0700)
commitf1f8a258567268974b9bbd012c33ad219a31aa0e
treebcd9ee55e4bb42eff9a588313bef32193d15cf5e
parenta58dd835e9536cf9e7adcd404d008a44d29af804
pretty: add pointer and tag options to %(decorate)

Add pointer and tag options to %(decorate) format, to allow to override
the " -> " string used to show where HEAD points and the "tag: " string
used to mark tags.

Document in pretty-formats.txt and test in t4205-log-pretty-formats.sh.

Signed-off-by: Andy Koppe <andy.koppe@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
log-tree.c
log-tree.h
pretty.c
t/t4205-log-pretty-formats.sh