Joined October 2011
·

Daniel Gasienica

Software Engineer at Zynga
·
Seattle, USA
·
·
·

Posted to git easy merging with merging tools! over 1 year ago

Great tip, thanks! Previously I had the following which worked, but it gave me all kinds of Mac OS X warnings in the Terminal:

[difftool]
    prompt = false
[difftool "p4merge"]
    external = "/Applications/p4merge.app/Contents/MacOS/p4merge" "$2" "$5" ||
[merge]
    tool = p4merge
[mergetool]
    prompt = false
    keepBackup = false
[mergetool "p4merge"]
    path = "/Applications/p4merge.app/Contents/MacOS/p4merge"
    trustExitCode = false

However, I still recommend adding prompt = false to [mergetool] and [difftool].

Achievements
89 Karma
0 Total ProTip Views