diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-03-23 00:00:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-23 00:00:24 +0300 |
commit | 25f9326561292b45311c60879d9bc08618727973 (patch) | |
tree | d6ea2102ed47d0464154fa78c523a303c3fb3cef /pretty.h | |
parent | f5c73f69fd711f4814a2e8da78a0a2f4dbb46013 (diff) | |
parent | 96099726ddb00b45135964220ce56468ba9fe184 (diff) |
Merge branch 'rs/pretty-describe'
"git log --format='...'" learned "%(describe)" placeholder.
* rs/pretty-describe:
archive: expand only a single %(describe) per archive
pretty: document multiple %(describe) being inconsistent
t4205: assert %(describe) test coverage
pretty: add merge and exclude options to %(describe)
pretty: add %(describe)
Diffstat (limited to 'pretty.h')
-rw-r--r-- | pretty.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,10 @@ enum cmit_fmt { CMIT_FMT_UNSPECIFIED }; +struct pretty_print_describe_status { + unsigned int max_invocations; +}; + struct pretty_print_context { /* * Callers should tweak these to change the behavior of pp_* functions. @@ -45,6 +49,7 @@ struct pretty_print_context { int color; struct ident_split *from_ident; unsigned encode_email_headers:1; + struct pretty_print_describe_status *describe_status; /* * Fields below here are manipulated internally by pp_* functions and |