Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Diffing arbitrary commits in stash/fisheye?

Andreas Krey March 13, 2014

(git) I have two commits a and b, and I want to do a diff for a given file name between these two (like 'git diff a..b filename'). Is there any way I can do so in either stash or fisheye, and hopefully, is a page doing so adressable by a URL that contains the filename and commit hashes?

2 answers

0 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2014

Hi Andreas

It's definitelly achievable in FishEye, see https://fisheye6.atlassian.com/browse/activemq-git/maven.xml?r1=1baf9f1&r2=a094f32 for example.

If I am not mistaken it is not possible in Stash but there is an open feature request for it, https://jira.atlassian.com/browse/STASH-2513 Feel free to vote on it if you find it useful.

Kind regards,

0 votes
Andreas Krey March 13, 2014

(I could just do the diff, color it, and throw it into HTML, but then the side-by-side diff feature wouldn't be there, as would some other niceties of stash.)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events