diff between two branches


I'm a bit confused about the page showing diffs of two different branches. I can see a lot of files with diffs but acutally there are no differencies at all. The file might have had some commits in between but the last state of the file of each branch is the same.

Even using "git diff branch1 branch2 -- file" doesn't show any differencies.

Can you tell me what the page is showing and is there any way to show a "real" diff between two branches?


6 answers

I would like an answer on this as well.  I look at two files between each branch individually, and they are the same.  Diffing branches, it shows that there are deltas, which is wrong.

I have also logged a call as this is clearly incorrect. I confuses developers and they get a fright thinking things have changed that actually haven't. 

Is there a JIRA number for this issue? I also have the problem.

Hi there @Nicolae Tudor
I found this one and commented on it recently.

But it does not seem like it is really on their priority list.  

Thank you @Ryan Blake, I also created my own (https://jira.atlassian.com/browse/BSERV-9534) that mentions this discussion thread as well as passing the issue to our internal department which can the decide which details can be shown to Atlassian. Hopefully they will update one of the tickets at some point.

0 vote

Compare between branches seems totally broken.  I find it kind of unbelievable that this is not a priority feature.  It's one of the main reasons I use it.  I have had to move everything to github now.

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,827 views 26 12
Join discussion

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