Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to open external merge tool "Meld" from source tree.

sanatan r November 20, 2015

Hi I am unable to launch the external merge tool "Meld" from the source tree software. 

Here is what have in the .gitconfig :

 

[mergetool "sourcetree"]
cmd = 'C:/Program Files (x86)/Meld/Meld.exe' \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"

trustExitCode = true

4 answers

0 votes
Brendan Simon November 29, 2016

For merge command try the following arguments.

    "$LOCAL" "$BASE" "$REMOTE" --auto-merge --output="$MERGED"

 

0 votes
Steven Olsen December 3, 2015

I'm kind of having the same problem. External merge tool is disabled.

https://crazy4groovy.tinytake.com/sf/NDA0Njc2XzIyMzkyOTI

In .gitconfig:

[mergetool "sourcetree"]
cmd = 'C:/Program Files/Perforce/p4merge.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
trustExitCode = true
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 4, 2015

This is a completely different issue. Based on your screenshot, "Launch external merge tool" is disabled because git thinks the file in question doesn't have conflicts. However, the diff view clearly shows conflict markers in the file. Choose "mark unresolved" from that menu first, then you should be able to launch your merge tool.

Brendan Simon November 29, 2016

This might happen if you have selected to ignore white space.  Try not ignoring white space and see what happens.

0 votes
sanatan r November 20, 2015

Thanks Seth.

I was actually able to make it work using the following :

 

[mergetool "Meld"] 
cmd = 'C:/Program Files (x86)/Meld/Meld.exe' \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
trustExitCode = true

 

Looks like adding one more parameter makes the Meld program not show up. 

 

This is in a windows 7 environment .

 

Regards,

Sanatan

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2015

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events