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 to view diff on committed file...

Hi all -

Forgive me if this has been answered before.  If I select a commit in Sourcetree, it shows a list of files modified in that commit in one pane, and if a file is selected, a diff in another pane.  I have Araxis configured as my external diff tool, and what I'd really like is to have a custom action on a file in the selected commit to launch the external diff tool and diff that version of the updated file and the previous version.  I know I can invoke 'Log Selected...' on that file, select that version and the previous from the resulting window, and invoke external diff from that context menu.  But that's more steps than I'd ideally want.

Can I create a custom action to do this and if so, how?  Thanks in advance!

1 answer

UPDATE:  Of course a minute after I post the question, I explore the 'Actions' item in the main menu, and there's an 'External Diff' item in there that will do what I want.  I guess it wasn't very intuitive to me to use the main menu in this case because there's so many panels and contexts.  I feel there should be a built-in context menu item in this panel for 'External Diff', but that's just me.

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...

5,798 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