Thread (26 messages) flat view 26 messages, 6 authors, 2016-06-16

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

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:09:06

Possibly related (same subject, not in this thread)

On Tue, Mar 29, 2016 at 7:15 PM, Junio C Hamano [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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".
+       multiple of 8) in the log message before using the message
+       to show in the output.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help