Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
log --format: document %w
author
René Scharfe
<rene.scharfe@lsrfire.ath.cx>
Sun, 22 Nov 2009 16:15:31 +0000
(17:15 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Nov 2009 00:22:18 +0000
(16:22 -0800)
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
37bb5d7
)
diff --git
a/Documentation/pretty-formats.txt
b/Documentation/pretty-formats.txt
index 09462021ead2591ae1f21f4441ff0bc357af2a1c..7ff6a6ce22f735fa40b2b2d1ec3f66f9bce9cc64 100644
(file)
--- 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