Cannot Launch KDiff3 External Merge Tool from Sourcetree

I am not sure what the issue is all of a sudden.  It was working a few times, then all of a sudden it no longer will work.  It says it is launching the tool but then nothing happens.  I am unable to effectively resolve conflicts and need this to work properly.  

 

I updated to 2.3.5 and it still isn't working.  Has anyone else solved this issue?

4 answers

1 accepted

To anyone else having this problem do yourself a favor and download GitKraken.  Problem solved.  They apparently know how to use GitMerge and GitDiff properly.

This is straight up Bullcrap from a "professional" software developer to release something with such a buggy MUST HAVE feature.  How the hell can you release a product that for half the people there is no way to open an external merge/diff tool because sourcetree screws something up that leaves you attempting to go through 50 different posts to try and fix, STILL unsuccessfully I might add...

 

This is completely unacceptable.  I'm sorry but until Atlassian gets their head out of their ass and fixes this bug that has been in countless versions, including the latest one, I'm done using it.    I've spent 5 hours trying to resolve it, I don't have anymore time to play "find a workaround for my broken features".

0 vote

Hi
I use KDiff3 daily and its working for me. Can you provide some more details so we can try and work out the differences?

Can you check the git config settings, does it contain:

mergetool.sourcetree.cmd='C:/Program Files/KDiff3/kdiff3.exe' "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED"

Sourcetree uses that setting by running

 git mergetool -y --tool=Sourcetree {filename}

Does that work from your command line?

you can try the diff equivalent as well 

e.g.

git difftool -y tool=Sourcetree {oldcommithash} -- {filename}

0 vote

Yesterday it wasn't working for me. Today, it magically is. Here are the contents of my .gitconfig file.

 

[difftool "sourcetree"]
cmd = 'C:/kdiff3/kdiff3.exe' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = 'C:/kdiff3/kdiff3.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

680 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you