Re: [RFC] Add the --color-words option to the diff options family
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 30, 2006, 09:36 UTC
- Message-ID
- <Pine.LNX.4.63.0607301135060.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <E1G6zc4-0007PC-9j@moooo.ath.cx>
Hi,
On Sun, 30 Jul 2006, Matthias Lederhofer wrote:
Show 8 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > With this option, the changed words are shown inline. For example, > > if a file containing "This is foo" is changed to "This is bar", the diff > > will now show "This is " in plain text, "foo" in red, and "bar" in green. > > I'd probably find it more useful if it would still show two lines but > only the relevant part in red/green.
I could do that if you want, but it is a little more involved. Besides, in my use case, which is text with _long_ lines, it would be less useful, so I would make it a switch.
Ciao, Dscho