Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events