[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: Greg Stein <gstein_at_lyra.org>
Date: 2001-09-10 22:54:49 CEST

On Mon, Sep 10, 2001 at 01:28:50PM -0700, Mo DeJong wrote:
> 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

Not all svn-commands have subprocesses where we need to pass parameters.
Thus, the "--" switch would be specific to diff, just like the suggested
--diff-options switch.

I'd prefer the more explicitly --diff-options.

And recall that we could definitely have something like:

.svnrc:

[options]
diff: -t -u

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
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.

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