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.

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,925 views 7 10
Read article

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