From 3288f20171ce6aee5d9d51d111ee17cd4b426af4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Scharfe?= Date: Sun, 22 Nov 2009 17:15:31 +0100 Subject: [PATCH] log --format: document %w Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- Documentation/pretty-formats.txt | 4 ++++ 1 file changed, 4 insertions(+) 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([[,[,]]])': 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 -- 2.11.4.GIT