diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-03-22 14:20:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-22 14:20:26 -0700 |
commit | 458281a5cc4fbbf5382b507870ac92d09f4cb1d9 (patch) | |
tree | f969cc3e9470c06902051bcd159aa1bc58a02bb2 /pretty-formats.txt | |
parent | d6b9ba3262e9125b842efd226c8023a5c9aed98c (diff) | |
download | git-htmldocs-458281a5cc4fbbf5382b507870ac92d09f4cb1d9.tar.gz |
Autogenerated HTML docs for v2.31.0-97-g14243
Diffstat (limited to 'pretty-formats.txt')
-rw-r--r-- | pretty-formats.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pretty-formats.txt b/pretty-formats.txt index 6b59e28d4..45133066e 100644 --- a/pretty-formats.txt +++ b/pretty-formats.txt @@ -208,6 +208,19 @@ The placeholders are: '%cs':: committer date, short format (`YYYY-MM-DD`) '%d':: ref names, like the --decorate option of linkgit:git-log[1] '%D':: ref names without the " (", ")" wrapping. +'%(describe[:options])':: human-readable name, like + linkgit:git-describe[1]; empty string for + undescribable commits. The `describe` string + may be followed by a colon and zero or more + comma-separated options. Descriptions can be + inconsistent when tags are added or removed at + the same time. ++ +** 'match=<pattern>': Only consider tags matching the given + `glob(7)` pattern, excluding the "refs/tags/" prefix. +** 'exclude=<pattern>': Do not consider tags matching the given + `glob(7)` pattern, excluding the "refs/tags/" prefix. + '%S':: ref name given on the command line by which the commit was reached (like `git log --source`), only works with `git log` '%e':: encoding |