我在 mac OSX Snow Leopard 上有 Git,我尝试编辑我的合并和差异工具以使用 kdiff3 而不是emerge。
但是当我尝试使用它时,它不会启动 kdiff 的 GUI,而是让我使用基于 cmd 的界面。
我在 gitconfig 中的设置是:
[merge]
tool = kdiff3
[mergetool "kdiff3"]
cmd = /Applications/kdiff3.app/Contents/MacOS/kdiff3
args = $base $local $other -o $output
trustExitCode = false
[diff]
tool = kdiff3
[difftool "kdiff3"]
cmd = /Applications/kdiff3.app/Contents/MacOS/kdiff3
args = $base $local $other -o $output
trustExitCode = false
显然缺少一些东西,但我做错了什么?