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

Re: [PATCH] add diff-cmd-args option to [helper] section.

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-08-11 07:35:25 CEST

Kouhei Sutou <kou@cozmixng.org> writes:

> Hi,
> I want to use 'diff -upN'. I can use this by specifying like
> this: 'svn diff --diff-cmd diff -x "-upN"'. But this is
> inconvenience. I want to use 'diff -upN' by default.
> The attached patch adds 'diff-cmd-args' option to [helper]
> section. If the patch is applied and I write the following
> settings to my configuration file, I can always use 'diff
> -upN' by default.

Seems like a lot of code churn and another option to maintain for
something you could just write a wrapper script for (say, my-diff.sh):

   diff "$@" -upN

And then in the config:

   diff-cmd = /path/to/my-diff.sh

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 11 07:38:46 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.