Code

strbuf_add_wrapped_text(): skip over colour codes
[git.git] / Documentation / pretty-formats.txt
index 09462021ead2591ae1f21f4441ff0bc357af2a1c..0683fb3a3d34e89c67c6e37f2ee96adcd2821ea0 100644 (file)
@@ -135,6 +135,8 @@ 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: Some placeholders may depend on other options given to the
 revision traversal engine. For example, the `%g*` reflog options will