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

Re: Parameters to 'diff'

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Tue, 08 Jul 2008 12:20:57 -0400

Michael Maxwell wrote:
> Well, it wouldn't be inevitable if the dadburned config file treated
> 'diff-cmd' the same way it already treats 'editor-cmd', namely that
> you can supply parameters right there. (There are a host of other
> parameters to e.g. the gnu 'diff' that one might also want to pass
> on.)

The issue is that the commandline option --diff-cmd is documented as
being only the executable, so the config file option is only the
executable (since it shares the same code path). I suspect it would be
easiest to add a new diff-extensions line to the config file (to match
the command line --extensions).

Patches welcome? Compare and contrast how editor works (see svn/util.c)
and diff_cmd (see libsvn_client/diff.c).

Read the Hacking guidelines before submitting anything, to save your skin...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-08 18:21:26 CEST

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

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