Re: [PATCH v2] make diff --color-words customizable
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 10, 2009, 11:37 UTC
- Message-ID
- <alpine.DEB.1.00.0901101237050.30769@pacific.mpi-cbg.de>
- In-Reply-To
- <gk8usj$slh$1@ger.gmane.org>
Hi,
On Sat, 10 Jan 2009, Jakub Narebski wrote:
Show 8 quoted lines
> Thomas Rast wrote: > > > --color-words works (and always worked) by splitting words onto one > > line each, and using the normal line-diff machinery to get a word > > diff. > > Cannot we generalize diff machinery / use underlying LCS diff engine > instead of going through line diff?
What do you think we're doing? libxdiff is pretty hardcoded to newlines. That's why we're substituting non-word characters with newlines.
Ciao, Dscho