summaryrefslogtreecommitdiffstats
path: root/pretty-formats.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-27 11:58:35 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-27 11:58:35 -0800
commit0f1291dcb49cd80bdb333eecb5f978a6a5ac3818 (patch)
treec8082d36556025d6bcea28f0b0afd313c809c34b /pretty-formats.txt
parent047135e65db3686c7b168ba029e8545071e5226f (diff)
downloadgit-htmldocs-0f1291dcb49cd80bdb333eecb5f978a6a5ac3818.tar.gz
Autogenerated HTML docs for v2.15.1-501-g29533f
Diffstat (limited to 'pretty-formats.txt')
-rw-r--r--pretty-formats.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/pretty-formats.txt b/pretty-formats.txt
index d433d50f8..e664c088a 100644
--- a/pretty-formats.txt
+++ b/pretty-formats.txt
@@ -204,11 +204,13 @@ endif::git-rev-list[]
than given and there are spaces on its left, use those spaces
- '%><(<N>)', '%><|(<N>)': similar to '% <(<N>)', '%<|(<N>)'
respectively, but padding both sides (i.e. the text is centered)
-- %(trailers): display the trailers of the body as interpreted by
- linkgit:git-interpret-trailers[1]. If the `:only` option is given,
- omit non-trailer lines from the trailer block. If the `:unfold`
- option is given, behave as if interpret-trailer's `--unfold` option
- was given. E.g., `%(trailers:only:unfold)` to do both.
+- %(trailers[:options]): display the trailers of the body as interpreted
+ by linkgit:git-interpret-trailers[1]. The `trailers` string may be
+ followed by a colon and zero or more comma-separated options. If the
+ `only` option is given, omit non-trailer lines from the trailer block.
+ If the `unfold` option is given, behave as if interpret-trailer's
+ `--unfold` option was given. E.g., `%(trailers:only,unfold)` to do
+ both.
NOTE: Some placeholders may depend on other options given to the
revision traversal engine. For example, the `%g*` reflog options will