git --follow type option for fisheye/crucible?

Issue: We have a review where most of the changes are due to re-organization of the files: either files moved to a directory or renamed. And then a few edits. Those renamed files don't show any diff in crucible, they only show the end result of the file, as if it is a brand new added. If the file is not renamed nor moved, then the diffs are shown correctly.

Related to this, git log has a --follow option, that shows history of a  file before it was renamed.


Question: Is there a similar option with fisheye so that it can follow the file's history before it was renamed?

2 answers

1 accepted

Well, apparently it's not possible

https://jira.atlassian.com/browse/CRUC-5768

Opened 4 years ago....

Hi Javier,

You can change the way Crucible detects renames in your Git repository.

For this go to Crucible Administration > Repositories, open your repository configuration and go to SCM Details. Here you can edit the Rename Detection option. Changing it to detailed, for instance, will make Crucible to detect the rename as a change - it will still show the old name as a deletion, but you could just remove it from the review created, as when creating a review on top of this commit it will add both the renamed (changed) file as well as the deleted one. 

Please notice that when changing this setting and saving it Crucible will prompt you for a restart on the repository. This will not be enough to make files already indexed to be shown as changes - if you want them to be shown this way, a full re-index will be required (repo settings > Maintenance > Re-clone and Re-index).

You can check further on this and other Git options at https://confluence.atlassian.com/display/FISHEYE/Git.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 2 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

24 views 2 3
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you