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>
This commit is contained in:

committed by
Junio C Hamano

parent
a58dd835e9
commit
f1f8a25856
@ -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);
|
||||
|
Reference in New Issue
Block a user