Repository Compare show unexpected results.
Summary
The compare functionality does not show the expected results. This is duplicate, but from my search this issue has been around for a number of years already. Example issue 3068, there are a number of others. Is there a work around or is this something we have to live with?
Steps to reproduce
My specific use case has been when trying to compare code in different environments e.g. UAT vs INT.
- Create UAT branch from master
- Create INT branch from master
- Commit set of changes to UAT branch
- Commit set of changes to INT branch
- Compare UAT vs INT or visa versa.
The compare doesn't show expected diff, but seems to show diff with master.
Example Project
What is the current bug behavior?
Referring to project above: Compare between branch test-1 and test-2 does not show the differences between the branches, but what appears to be the difference with master.
What is the expected correct behavior?
I should see a diff between my branches as they currently are not a diff with the parent branch. I've attached a screenshot from my local environment using Sourcetree to illustrate the expected behavior.