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?


5 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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,026 views 1 5
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