From: Matthias Lederhofer Date: Sun, 30 Jul 2006 00:57:00 GMT Subject: Re: [RFC] Add the --color-words option to the diff options family Message-ID: In-Reply-To: Johannes Schindelin 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. > > Signed-off-by: Johannes Schindelin > > --- > > I am probably the only person who finds it useful, but there > is a high coolness factor attached to it. > > And the libxdiff library actually made it very easy to do. (Yes, > there are two nested calls to xdiff...) I'd probably find it more useful if it would still show two lines but only the relevant part in red/green.