{"thread":{"id":"28034","subject":"When i run git difftool, git did not use difftool.bc3.cmd,why?","startedAt":"2011-08-07T01:48:18Z","lastAt":"2011-08-08T11:08:05Z","messageCount":3,"participants":["jelly","David Aguilar"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"173073","messageId":"24cad567.da0.131a1ed237b.Coremail.sinojelly@163.com","threadId":"28034","inReplyTo":null,"subject":"When i run git difftool, git did not use difftool.bc3.cmd,why?","fromName":"jelly","fromEmail":"sinojelly@163.com","sentAt":"2011-08-07T01:48:18Z","receivedAt":"2011-08-07T01:48:18Z","isPatch":false,"sender":{"key":"sinojelly@163.com","avatar":"https://gravatar.com/avatar/b0b62bbb9960cfe61ba2b4ccf035442f1117f9c56a31dfb60c543ba7f59956a1?d=mp&s=160"},"body":"Even i write a wrong exe file name bcomp1.exe, git still use bcompare.\n \n[diff]\n    tool = bc3\n[difftool \"bc3\"]\n    cmd = \"/cygdrive/c/program files/beyond compare 3/bcomp1.exe\" \"$(cygpath -w $LOCAL)\" \"$REMOTE\"\n\n$ git difftool/usr/lib/git-core/git-mergetool--lib: line 124: bcompare: command not found\n"},{"id":"173074","messageId":"9c0c497.f7f.131a1fb4855.Coremail.sinojelly@163.com","threadId":"28034","inReplyTo":"24cad567.da0.131a1ed237b.Coremail.sinojelly@163.com","subject":"Re:When i run git difftool, git did not use difftool.bc3.cmd,why?","fromName":"jelly","fromEmail":"sinojelly@163.com","sentAt":"2011-08-07T02:03:45Z","receivedAt":"2011-08-07T02:03:45Z","isPatch":false,"sender":{"key":"sinojelly@163.com","avatar":"https://gravatar.com/avatar/b0b62bbb9960cfe61ba2b4ccf035442f1117f9c56a31dfb60c543ba7f59956a1?d=mp&s=160"},"body":">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.\nI found the reason.\nbecause bc3 is a special name, git call bcompare internal.change the name bc3, it works fine.\n"},{"id":"173132","messageId":"EC90E9C8-3745-4E39-9627-945CDC7DD199@gmail.com","threadId":"28034","inReplyTo":"9c0c497.f7f.131a1fb4855.Coremail.sinojelly@163.com","subject":"Re: When i run git difftool, git did not use difftool.bc3.cmd,why?","fromName":"David Aguilar","fromEmail":"davvid@gmail.com","sentAt":"2011-08-08T11:08:05Z","receivedAt":"2011-08-08T11:08:05Z","isPatch":false,"sender":{"key":"davvid@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13196?v=4"},"body":"On Aug 6, 2011, at 7:03 PM, jelly <sinojelly@163.com> wrote:\n\n>> 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.\n> I found the reason.\n> because bc3 is a special name, git call bcompare internal.change the name bc3, it works fine.\n\nThat's right. We have difftool.<tool>.path for this use case.  It lets you redefine the path to the tool (e.g. bcompare)."}]}