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

Re: svn diff -x -b

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-05-30 21:45:39 CEST

Seth Arnold wrote:
> Hello; I find it a bit unfortunate that svn diff doesn't understand -b
> (ignore whitespace) by default. It seems further unfortunate that in
> order to pass -b to diff, one must change from:
> svn diff foo bar
> to:
> svn diff --diff-cmd diff -x -ub foo bar

I agree that it would be nice if the built-in diff had some useful options like
ignoring space changes, and/or if there were a better way to use external
"diff" commands. Patches are welcome. It would be best to discuss exactly
what behaviour you propose to add before finishing and submitting a patch for it.

Further, we need a flexible, configurable way to have different external diff
commands invoked automatically for different file types. Easier use of
external diff commands might well come as part of this feature.

> it'd be keen if the built-in
> differ could grok a larger subset of GNU diff's options, such as -b
> (ignore whitespace) and -p (show C function).

Whether its options should be a subset of GNU diff's options, and whether the
"show C function" option is a sensible one, are up for discussion. (My
personal preference: "mostly" and "no" respectively.)

I/we would be happy to help you develop any such feature.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 30 21:46:36 2005

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