log --format: document %w
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
René Scharfe committed
Nov 22, 2009 at 17:15 UTC
3288f20171ce6aee5d9d51d111ee17cd4b426af4
1 file changed
+4
Documentation/pretty-formats.txt
+4
@@ -135,6 +135,10 @@ The placeholders are:
135
- '%m': left, right or boundary mark
136
- '%n': newline
137
- '%x00': print a byte from a hex code
138
+- '%w([<w>[,<i1>[,<i2>]]])': switch line wrapping, like the -w option of
139
+ linkgit:git-shortlog[1]. NOTE: Color placeholders (`%C*`) are not
140
+ recognized as having no width, so they should not be put into wrapped
141
+ sections.
142
143
NOTE: Some placeholders may depend on other options given to the
144
revision traversal engine. For example, the `%g*` reflog options will