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

Making reviews work like "git difftool" in Crucible

We have been using Crucible for a couple months now, and there's something we don't quite get.   If I do a diff using a diff tool, like:

git difftool master..mybranch

I see the current state of "mybranch" being compared to the current state of "master".  If I create a review in Crucible and use "Choose Branches", I see the "sum" of each individual commit. Here's the difference...

If a developer creates a branch, and in commit A they have modified a file, then in commit B they have removed the file, and I create a Crucible review, I see the changes in commit A as part of the review.  If I do "git difftool", as above, I don't see the file at all, because it no longer exists.  This is the preferred functionality.  Does anyone know how to achieve this?

1 answer

0 votes

If a developer creates a branch, and in commit A they have modified a file, then in commit B they have removed the file, and I create a Crucible review, I see the changes in commit A as part of the review.  If I do "git difftool", as above, I don't see the file at all, because it no longer exists.

In this scenario both Crucible and git diftool would show change to this file I believe.  Just to be clear - file existed on a main branch before, you modified the file on commit A (on new branch) and then deleted it subsequently on on commit B (on the same new branch)?  When comparing this branch to master you surely would see a difference, file still exists on a master and does not exist on your branch any more.

 

I am guessing there might be a confusion in different scenario, when file was created and then removed on subsequent commit, both commits made on a new branch.  In this scenario git difftool would not show such file at all, while Crucible would indeed show such file as touched on a review, though it would be shown as deleted and no diff would be presented.  Arguably such file could perhaps be ignored and not shown on Crucible review at all.  Fell free to raise a feature enhancement in https://jira.atlassian.com/browse/CRUC project, so this could be addressed if more customers vote on this issue.


Hope that helps,
Piotr 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

116 views 1 9
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