diff options
author | Andy Koppe <andy.koppe@gmail.com> | 2023-08-20 19:50:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-21 11:40:10 -0700 |
commit | f1f8a258567268974b9bbd012c33ad219a31aa0e (patch) | |
tree | bcd9ee55e4bb42eff9a588313bef32193d15cf5e /log-tree.h | |
parent | a58dd835e9536cf9e7adcd404d008a44d29af804 (diff) | |
download | git-f1f8a258567268974b9bbd012c33ad219a31aa0e.tar.gz |
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>
Diffstat (limited to 'log-tree.h')
-rw-r--r-- | log-tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/log-tree.h b/log-tree.h index 14898de8ac..41c776fea5 100644 --- a/log-tree.h +++ b/log-tree.h @@ -17,6 +17,8 @@ struct decoration_options { char *prefix; char *suffix; char *separator; + char *pointer; + char *tag; }; int parse_decorate_color_config(const char *var, const char *slot_name, const char *value); |