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

Re: RFE: diff -w

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-06 20:17:00 CET

On Nov 6, 2004, at 1:13 PM, Ben Collins-Sussman wrote:

>
> On Nov 6, 2004, at 5:59 AM, Kenneth Porter wrote:
>
>> If I re-indent a source file for readability, I generally don't want
>> to see that when looking at what I changed with "svn diff". It would
>> be nice if I could optionally get the equivalent of the -w option
>> (ignore white space differences) of Gnu diff.
>
>
> $ svn diff --diff-cmd /usr/bin/gdiff -X -u -w
>
>

Whoops, it's a small x, and you'll probably have to protect the
pass-thru args in quotes:

    $ svn diff --diff-cmd /usr/bin/diff -x "-w -u"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 6 20:18:51 2004

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