Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v4 1/3] pretty: expand tabs in indented logs to make things line up properly

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:09:07

Eric Sunshine [off-list ref] writes:
On Tue, Mar 29, 2016 at 7:15 PM, Junio C Hamano [off-list ref] wrote:
quoted
From: Linus Torvalds <torvalds@linux-foundation.org>

A commit log message sometimes tries to line things up using tabs,
assuming fixed-width font with the standard 8-place tab settings.
Viewing such a commit however does not work well in "git log", as
we indent the lines by prefixing 4 spaces in front of them.
[...]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <redacted>
---
diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt
@@ -42,6 +42,12 @@ people using 80-column terminals.
+--expand-tabs::
+       Perform a tab expansion (replace each tab with enough number
+       of spaces to fill to the next display column that is
Nit: "enough spaces" or "a sufficient number of spaces".
Thanks, will be part of a reroll (when it happens ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help