It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

diff between two branches

Timo Schäfer Mar 07, 2016

Hi,

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?

Regards,
Timo.

6 answers

3 votes
Gart Nilis Jun 22, 2018

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.

0 votes
Christopher Cook Oct 06, 2016

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.

0 votes
Ryan Blake Dec 01, 2016

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. 

0 votes
Nicolae Tudor Feb 02, 2017

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

0 votes
Ryan Blake Feb 03, 2017

Hi there @Nicolae Tudor
I found this one and commented on it recently.
https://jira.atlassian.com/browse/BSERV-7375

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

0 votes
Nicolae Tudor Feb 03, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,029 views 1 20
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you