I can recreate a bug in this version, where the compare view doesn't properly display diffs between branches.
In the case where you have two branches with a common ancestor, but different subsequent commits, the diff screen will only show you the commits from the common ancestor onwards.
e.g. I have
master = c1,c2
branch1 = c1,c2,y1,y2
branch2 = c1,c2,z1,z2.
On comparing branch1 and branch2, for the diff i would expect to see the removal of y1 and y2 changes, and the addition of z1 and z2 changes.
The git diff command 'git diff branch1 branch2' produces the output I expect.
Hi @pjg,
You are spot on here.
Bitbucket Server performs the branch starting at the common ancestor. You can follow the conversation on this topic on this feature request:
More details on how a Diff in Bitbucket Server is generated are also provided on the Understanding Diff view in Bitbucket Server page.
Cheers,
Caterina - Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.