Re: Patch text in git-add patch mode lacks whitespace highlighting
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 1, 2020, 21:06 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2002012205520.46@tvgsbejvaqbjf.bet>
- In-Reply-To
- <20200201110203.GA1864964@coredump.intra.peff.net>
Hi Peff,
On Sat, 1 Feb 2020, Jeff King wrote:
Show 11 quoted lines
> On Fri, Jan 31, 2020 at 01:37:44PM +0100, Johannes Schindelin wrote: > > > If my reading is correct, and we want `git diff-files --color` to respect > > the `diff.wsErrorHighlight` setting, then this patch fixes that: > > [...] > > The bigger question is whether other core developers agree with this? And > > what other `diff.*` settings should be respected by `git diff-files` (and > > of course, `git diff-index`)? > > I think you can take my posting of an identical patch elsewhere in the > thread as a "yes". :)
Thank you ;-)
That answer only applies to the first question, though. The second question, whether other `diff.*` settings would like to enjoy the same treatment, is still open for debate...
Thanks, Dscho