Anonymous committed 3288f20

log --format: document %w

Signed-off-by: Rene Scharfe <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 37bb5d7

Comments (0)

Files changed (1)

File Documentation/pretty-formats.txt

 - '%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