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

Re: sander's diff library

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-02-10 19:02:00 CET

Eric Gillespie <epg@pretzelnet.org> writes:
> Long-term, we want both of those. When we have pluggable diff
> programs, users will always have the case where for *just this
> run* they want to use a different diff program than what's
> specified in the config files. It just so happens that we can
> also make use of that code path and command-line option today to
> switch between the internal and GNU diff implementations.
>
> So my vote goes to making the internal library the default,
> changeable only at run-time with some kind of --diff-program
> option.

Hey, yeah! I hadn't thought about it that way, but this makes a lot
of sense. +1.

> I'm not sure what the answer to this is, but the --diff-program
> option will need a way to get command-line arguments to the
> program. Whether it should be made of the form --diff-program
> '/usr/bin/diff -up' or --diff-program /usr/bin/diff -x -up i am
> not sure. I lean toward the former, but i'm sure some people
> will cry about spaces in their filenames.

Let's continue to reserve -x for now. For all we know, we could even
use it to pass options to the *internal* diff library.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 10 19:33:19 2003

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