Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-03-23 00:00:24 +0300
committerJunio C Hamano <gitster@pobox.com>2021-03-23 00:00:24 +0300
commit25f9326561292b45311c60879d9bc08618727973 (patch)
treed6ea2102ed47d0464154fa78c523a303c3fb3cef /pretty.h
parentf5c73f69fd711f4814a2e8da78a0a2f4dbb46013 (diff)
parent96099726ddb00b45135964220ce56468ba9fe184 (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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pretty.h b/pretty.h
index d902cdd70a..f034609e4d 100644
--- a/pretty.h
+++ b/pretty.h
@@ -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