[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn diffs by word

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-07-12 20:07:08 CEST

Erik Huelsmann wrote:
> On 7/12/06, Christian Kristukat <ckkart@hoc.net> wrote:
>> Hi,
>> is it possible to tell svn that it should do diffs by word and not by
>> line?
>> Either using an editor with or without word wrap, if you change one
>> single word
>> in a paragraph, the whole paragraph is marked as 'changed'. You will
>> hardly find
>> what has changed.
>
> The internal diff is line-based, but with the right configuration, you
> can use your own diff tools. (see --diff-cmd command line switch.)

The wdiff program does word based diffs and as Erik suggested, pass it's path to
the --diff-cmd command line option.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 12 20:08:46 2006

This is an archived mail posted to the Subversion Users mailing list.