Re: Tabs in commit messages - de-tabify option in strbuf_stripspace()?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Mar 16, 2016, 00:48 UTC
- Message-ID
- <CA+55aFyXXHNrJW56A_DKkmrmGpWxeUd6row_ja3bzqhs_yswhw@mail.gmail.com>
- In-Reply-To
- <xmqq4mc76yji.fsf@gitster.mtv.corp.google.com>
On Tue, Mar 15, 2016 at 5:45 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> > Wouldn't it be nicer to do this kind of thing at the output side? A > stupid way would be to have an option to indent the log text with a > tab instead of 4-spaces, but a more sensible way would be to keep > the visual 4-space-indent and do the expand-tab for each line of > text.
Yes, that would certainly work for me too. It's just the "ascii boxes don't line up" that is problematic..
(Also people including example source code etc, where the first tab looks wildly different from the second one)
Linus