git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* When i run git difftool, git did not use difftool.bc3.cmd,why?
@ 2011-08-07  1:48 jelly
  2011-08-07  2:03 ` jelly
  0 siblings, 1 reply; 3+ messages in thread
From: jelly @ 2011-08-07  1:48 UTC (permalink / raw)
  To: Git讨论组(无须订阅)

Even i write a wrong exe file name bcomp1.exe, git still use bcompare.
 
[diff]
    tool = bc3
[difftool "bc3"]
    cmd = "/cygdrive/c/program files/beyond compare 3/bcomp1.exe" "$(cygpath -w $LOCAL)" "$REMOTE"

$ git difftool/usr/lib/git-core/git-mergetool--lib: line 124: bcompare: command not found

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:When i run git difftool, git did not use difftool.bc3.cmd,why?
  2011-08-07  1:48 When i run git difftool, git did not use difftool.bc3.cmd,why? jelly
@ 2011-08-07  2:03 ` jelly
  2011-08-08 11:08   ` When " David Aguilar
  0 siblings, 1 reply; 3+ messages in thread
From: jelly @ 2011-08-07  2:03 UTC (permalink / raw)
  To: Git讨论组(无须订阅)

>When i run git difftool, git did not use difftool.bc3.cmd,why?>Even i write a wrong exe file name bcomp1.exe, git still use bcompare.
I found the reason.
because bc3 is a special name, git call bcompare internal.change the name bc3, it works fine.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: When i run git difftool, git did not use difftool.bc3.cmd,why?
  2011-08-07  2:03 ` jelly
@ 2011-08-08 11:08   ` David Aguilar
  0 siblings, 0 replies; 3+ messages in thread
From: David Aguilar @ 2011-08-08 11:08 UTC (permalink / raw)
  To: jelly; +Cc:  Git讨论组(无须订阅) 

On Aug 6, 2011, at 7:03 PM, jelly <sinojelly@163.com> wrote:

>> When i run git difftool, git did not use difftool.bc3.cmd,why?>Even i write a wrong exe file name bcomp1.exe, git still use bcompare.
> I found the reason.
> because bc3 is a special name, git call bcompare internal.change the name bc3, it works fine.

That's right. We have difftool.<tool>.path for this use case.  It lets you redefine the path to the tool (e.g. bcompare).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-08 11:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-07  1:48 When i run git difftool, git did not use difftool.bc3.cmd,why? jelly
2011-08-07  2:03 ` jelly
2011-08-08 11:08   ` When " David Aguilar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).