From: Davide Libenzi Date: Tue, 13 Jan 2009 18:50:29 GMT Subject: Re: [PATCH v2] make diff --color-words customizable Message-ID: In-Reply-To: <200901130152.24401.jnareb@gmail.com> On Tue, 13 Jan 2009, Jakub Narebski wrote: > Is this core algorithm available as some exported function in libxdiff? > I mean would it be easy to replace default line tokenizer (per-line > pre-processing) and post-processing to better deal with word diff? In libxdiff, no. I hadn't thought to export the raw Meyer algo, and nobody ever asked before. > The other side would be to generate per-paragraph diffs (with empty > line being separator)... In Git I guess you can use it to generate other kind of diffs. I don't see any problems with that. Just requires more memory WRT a line based one. - Davide