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

Re: Disable diff-cmd

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 24 Aug 2010 15:13:20 +0200

On Tue, Aug 24, 2010 at 01:48:43PM +0100, Julian Foad wrote:
> anatoly techtonik wrote:
> > On Tue, Aug 24, 2010 at 2:29 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> > >> >
> > >> > --internal-diff seems to be new in 1.7 so i guess the only option is using
> > >> > --config-dir to override it.
> > >>
> > >> Why not to stop proliferation of options by allowing an empty value
> > >> for --diff-cmd to be treated as an instructions to use internal
> > >> implementation?
> > >
> > > Boils down to personal preference.
> > > See http://svn.haxx.se/dev/archive-2010-05/0456.shtml
> >
> > I believe Git has --no-ext-diff option for that purpose, but I still
>
> Let's rename "--internal-diff" to "--no-ext-diff", just for ease of
> memory for those who use both Svn and Git.
>
> > think that universal ability to reset option to default with
> > `--diff-cmd=""` or `--config-option config:helpers:diff-cmd=""` is a
> > better approach, because it will also allow to use default values for
> > other cmd options like editor-cmd, diff3-cmd, merge-tool-cmd and ssh.
>
> You know what? I like that reasoning.
>
> We could still have a "--internal-diff" (or "--no-ext-diff") for
> user-friendliness reasons, but define it as an alias for
> "--diff-cmd=''". That would have the advantage of making clear how
> those two options would interact if both are specified.

All fine with me.

Stefan
Received on 2010-08-24 15:14:22 CEST

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.