Re: Tabs in commit messages - de-tabify option in strbuf_stripspace()?
- From
Marc Branchaud <marcnarc@xiplink.com>
- Date
- Mar 16, 2016, 14:27 UTC
- Message-ID
- <56E96D61.6060007@xiplink.com>
- In-Reply-To
- <CAGZ79kZtAm1M=9CGDGxPdecXEuNEQcbpQb3FNj9=Py0VE2UrKQ@mail.gmail.com>
On 16-03-15 09:02 PM, Stefan Beller wrote:
Show 7 quoted lines
> On Tue, Mar 15, 2016 at 6:00 PM, Stefan Beller <sbeller@google.com> wrote: >> >> Instead of converting to whitespaces in Git, we could make use of the >> set_tabs capability for ttys and setup the terminal for having tabs align >> to 12,+8,+8,+8... > > Or rather read in the existing tabs configuration and shift it by a constant.
Could this also help with diff output, where the leading + or - mars the indentation in a similar way?
That opens a bit of a deeper problem, because not all the files in a single repo necessarily use the same tab size.
M.