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

Is it possible to compare two different files on two different branches in Data Server Bitbucket?

Dianne Desilets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2024

My colleagues push each change with a change in file name.  When they need to compare the file in two different commits, the two files are named differently.  Diff ends up being the whole file contents.   I see it can be done in git.  Can it be done in Bitbucket on the UI?

1 answer

1 vote
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2024

Hi Dianne and welcome to the Atlassian community!

I was able to reproduce what you describe. When renaming properly Bitbucket will detect this as a rename in a PR. But when you compare 2 commits it shows the file as a new file in the diff.

I found the feature request for Bitbucket Cloud but not for Data Center: https://jira.atlassian.com/browse/BCLOUD-12536

You can always create one in the issue tracker yourself.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events