summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2009-11-22 17:15:31 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 16:22:18 -0800
commit3288f20171ce6aee5d9d51d111ee17cd4b426af4 (patch)
tree7ceb8805c9a4fb2bab4afa7445e50c565b8e60cb /Documentation
parentstrbuf_add_wrapped_text(): factor out strbuf_add_indented_text() (diff)
downloadtgif-3288f20171ce6aee5d9d51d111ee17cd4b426af4.tar.xz
log --format: document %w
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/pretty-formats.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 09462021ea..7ff6a6ce22 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -135,6 +135,10 @@ The placeholders are:
- '%m': left, right or boundary mark
- '%n': newline
- '%x00': print a byte from a hex code
+- '%w([<w>[,<i1>[,<i2>]]])': switch line wrapping, like the -w option of
+ linkgit:git-shortlog[1]. NOTE: Color placeholders (`%C*`) are not
+ recognized as having no width, so they should not be put into wrapped
+ sections.
NOTE: Some placeholders may depend on other options given to the
revision traversal engine. For example, the `%g*` reflog options will