Create
cancel
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

custom action doesn't work, but work with command line

I add a customer action to compare 2 commits with Beyond compare. it works in one PC with sourcetree version 2.5.5.0

Now I want to do same thing in my new PC with sourcetree version 2.6.10.0, The output is:

git difftool --dir-diff --tool=sourcetree 12a402ff418973ab64579a210f3b96fe446c1ca1 1e4888c75b58f4d7bc4d6fe3484426f40b99171f

Completed with errors, see above.

If I run same command in Terminal of sourcetree on this new PC, it works fine.

Compare single file with "External Diff" from GUI also works fine.

1 answer

1 accepted

1 vote
Answer accepted

You need to change your parameters to the below to open the differences in beyond compare.

git difftool --dir-diff --tool=bc3 12a402ff418973ab64579a210f3b96fe446c1ca1 1e4888c75b58f4d7bc4d6fe3484426f40b99171f

If it doesn't work, try changing the script option as the full path

C:\Users\<YourName>\AppData\Local\Atlassian\SourceTree\git_local\bin\git.exe

Suggest an answer

Log in or Sign up to answer
TAGS
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...

5,698 views 4 12
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