# When i run git difftool, git did not use difftool.bc3.cmd,why?

3 messages from 2011-08-07 to 2011-08-08. Participants: jelly, David Aguilar.
Thread: https://gitlist.dev/t/28034

## jelly, 2011-08-07 01:48

Subject: When i run git difftool, git did not use difftool.bc3.cmd,why?
Message-ID: <24cad567.da0.131a1ed237b.Coremail.sinojelly@163.com>
URL: https://gitlist.dev/e/24cad567.da0.131a1ed237b.Coremail.sinojelly%40163.com

```
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

```

## jelly, 2011-08-07 02:03

Subject: Re:When i run git difftool, git did not use difftool.bc3.cmd,why?
Message-ID: <9c0c497.f7f.131a1fb4855.Coremail.sinojelly@163.com>
URL: https://gitlist.dev/e/9c0c497.f7f.131a1fb4855.Coremail.sinojelly%40163.com
In-Reply-To: <24cad567.da0.131a1ed237b.Coremail.sinojelly@163.com>

```
>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.

```

## David Aguilar, 2011-08-08 11:08

Subject: Re: When i run git difftool, git did not use difftool.bc3.cmd,why?
Message-ID: <EC90E9C8-3745-4E39-9627-945CDC7DD199@gmail.com>
URL: https://gitlist.dev/e/EC90E9C8-3745-4E39-9627-945CDC7DD199%40gmail.com
In-Reply-To: <9c0c497.f7f.131a1fb4855.Coremail.sinojelly@163.com>

```
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).
```
