All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Aguilar <davvid@gmail.com>
To: Nick Welch <nick@incise.org>
Cc: git@vger.kernel.org
Subject: Re: Running vimdiff in read-only mode with git-difftool?
Date: Sun, 17 May 2009 22:42:25 -0700	[thread overview]
Message-ID: <20090518054224.GA32259@gmail.com> (raw)
In-Reply-To: <9e00fd550905172201n6c95dc1bia48c9ac25d8ec98f@mail.gmail.com>

On Sun, May 17, 2009 at 10:01:02PM -0700, Nick Welch wrote:
> 
> According to the git-difftool manpage, what I'm trying to do
> should work:
> 
>   Instead of running one of the known diff tools,
>   git-difftool can be customized to run an alternative
>   program by specifying the command line to invoke in a
>   configuration variable difftool.<tool>.cmd.


Custom difftool.<tool>.cmd settings only work for custom
(i.e. alternative/non-built-in) tools.

If you rename that to something like "myvimdiff"
(or anything != "vimdiff") then it'll work as expected.

I wouldn't be opposed to a patch making
{diff,merge}tool.<tool>.cmd work for built-in tools as
well as long as it had a testcase and didn't end up
making the code unnecessarily complex.

-- 

	David

  reply	other threads:[~2009-05-18  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18  5:01 Running vimdiff in read-only mode with git-difftool? Nick Welch
2009-05-18  5:42 ` David Aguilar [this message]
2009-05-18  5:51 ` David Aguilar
2009-05-18  6:06   ` Nick Welch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090518054224.GA32259@gmail.com \
    --to=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=nick@incise.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.