Re: [PATCH v2] Do not show "diff --git" metainfo with --no-prefix
- From
Jeff King <peff@peff.net>
- Date
- Jan 17, 2008, 14:49 UTC
- Message-ID
- <20080117144914.GA2816@coredump.intra.peff.net>
- In-Reply-To
- <alpine.LSU.1.00.0801170147350.17650@racer.site>
On Thu, Jan 17, 2008 at 01:48:54AM +0000, Johannes Schindelin wrote:
Show 11 quoted lines
> > While we are discussing about diff, there is one thing that has been > > bugging me occasionally, but the annoyance factor has not motivated me > > enough to look into it myself, because I do not use it often: > > --color-words. It appears that it shows lines that do not have any word > > differences in bold (whatever diff.color.meta is configured) and I think > > it should use plain color instead. > > > > Was this intentional, or just a simple plain bug? > > Plain bug. I even meant to implement your suggestion of having a variable > set of non-word characters, but never came around to work on it.
Hmm. I happen to set my "meta" color to something a little less attention-grabbing (magenta), and I find the alternate coloring to be a nice visual indicator of "nothing happened on this line". I can see how bold would be very distracting, though. Perhaps there should be a color.diff.unimportant?
-Peff