Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree losing custom diff arguments

On 3.0.8, I have an external, custom diff tool defined with arguments.  I can set these via the options dialog, exit SourceTree, and can confirm they are stored in my .gitconfig file.  When I open SourceTree back up and go into the options, the arguments field (for both merge and diff tools) are blank.  The path to my custom command remains however.

Custom diff and merge command: C:\Program Files (x86)\WinMerge\WinMergeU.exe 
Diff arguments: -e -u -wl -dl \"Remote\" -dr "Local" $LOCAL $REMOTE
Merge arguments: -e -u -wl -dl \"Remote\" -dr "Local" $LOCAL $REMOTE $MERGED


I'm trying to call WinMerge in this way since the listed "WinMerge" entry in the dropdown

doesn't appear to work.  My custom configuration works great, it's just that the settings are being removed when the application is started - I can observe my settings being deleted from my .gitconfig on startup of the application.



2 answers

Seems to be STILL an issue and seriously affects using diff programs professionally from out of Sourcetree.

Oh, sorry, that seems to be wrong.  We had indeed command options being eaten on their way to our diff tool, but that just turned out not to be SourceTree's fault.

0 votes
minnsey Atlassian Team Nov 02, 2018


I'm afraid this is a known bug, we are working on a fix.

And are you reserving the rest of the century to accomplish it?

Like # people like this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,235 views 5 14
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you