The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Darong Liu
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 14, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
saranya.sellamuthu
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!
March 1, 2021

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

TAGS
AUG Leaders

Atlassian Community Events