threads / patch / 32579

patchgit-shortlog(1): document behaviour of zero-width wrap

Subject: [PATCH] git-shortlog(1): document behaviour of zero-width wrap

## tl;dr

2 messages between Jan 9, 2013 and Jan 9, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

John Keeping· Jan 9, 2013, 20:16 UTC · lore

Commit 00d3947 (Teach --wrap to only indent without wrapping) added special behaviour for a width of zero in the '-w' argument to 'git-shortlog' but this was not documented. Fix this.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/git-shortlog.txt | 3 +++
 1 file changed, 3 insertions(+)
Show changes to Documentation/git-shortlog.txt +3 −0
diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt
index afeb4cd..c308e91 100644
--- a/Documentation/git-shortlog.txt
+++ b/Documentation/git-shortlog.txt
@@ -56,6 +56,9 @@ OPTIONS
 	line of each entry is indented by `indent1` spaces, and the second
 	and subsequent lines are indented by `indent2` spaces. `width`,
 	`indent1`, and `indent2` default to 76, 6 and 9 respectively.
++
+If width is `0` (zero) then indent the lines of the output without wrapping
+them.
 
 
 MAPPING AUTHORS
-- 
1.8.0.2

← back to recent threads