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

RE: Diff options

From: Mo DeJong <supermo_at_bayarea.net>
Date: 2001-09-10 22:28:50 CEST

Greg Hudson wrote:

> I know it's gross, but I think if we want to be able to pass
> unrecognized options to the diff command it will have to be explicit
> (--diff-options=--expand-tabs). We can recognize commonly-used
> options like -c and -u natively, of course.

I just wanted to toss another idea into the ring. What if we used --
to separate normal options from those that would get passed down
to the subcommand? Options that appear to the right of a --
would get passed.

Like so:

svn diff -- -u file1

svn diff file1 -- --expand-tabs

cheers
Mo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 2006

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