[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: John Belmonte <john_at_neggie.net>
Date: 2005-05-28 02:52:48 CEST

> 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
> Yes, it works, but it's annoying. :) Anyway, 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).

My suggestion: get aquainted with your shell. For example:

  $ alias svndiff='svn diff --diff-cmd diff -x -ub'
  $ svndiff foo bar


  $ diffb='diff --diff-cmd diff -x -ub'
  $ svn $diffb foo bar

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 28 02:53:40 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.