Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to launch External Diff tool

Matt Klaczak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2025

Hello, when I use Sourcetree, the External Diff option does not load. I am using SystemDefault as my "External Diff Tool". There are no values in the "Diff Command" text box and "Arguments" text box. I DO see the backup files created in SourceTree when I try launching External Diff but no process ever launches and no application ever launches.

 

According to the Process Viewer, the command that runs when I execute an External Diff is:

{ "Command": "git\r\n-c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks difftool -y --\r\nMYFILE.java", "Directory": "C:\\Users\\MY_USER_DIR", "Status": "Running", "Duration": "00:00:18.3061279", "CallerContext": "GetExternalDiffProcess", "Output": null }

I used to be able to launch my preferred diff tool (Devart Code Compare) via SourceTree  However, for a while now I haven't been able to.

Do you guys have any suggestions? Any help would be greatly appreciate.

 

1 answer

0 votes
Brant Schroeder
Community Champion
August 27, 2025

@Matt Klaczak welcome to the Atlassian community

I would suggest setting it up again.

  • Go to the Diff Tab: In the Options/Preferences window, select the Diff tab.
  • Configure External Diff / Merge: Locate the "External Diff / Merge" section.
  • Select Your Tool:
    • External Diff Tool: Choose your preferred diff tool from the dropdown menu. SourceTree offers a list of commonly used tools.
    • External Merge Tool: Similarly, select your preferred merge tool.
  • Custom Tool Configuration (Optional): If your desired tool is not listed, or you need specific arguments, select "Custom" for both the Diff Tool and Merge Tool.
    • Diff Command: Provide the full path to the executable of your diff tool.
    • Diff Arguments: Enter the necessary arguments for your diff tool to compare files. Common placeholders include "$LOCAL" and "$REMOTE" for the local and remote file paths, respectively.
    • Merge Command: Provide the full path to the executable of your merge tool.
    • Merge Arguments: Enter the necessary arguments for your merge tool. Common placeholders include "$LOCAL""$REMOTE""$BASE", and "$MERGED" for the respective file paths during a merge conflict.
  • Apply Changes: Click OK or Apply to save your settings.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events