We see incorrect branch differences in TFS (git repository). We follow a typical scenario between dev and release branch:
- Create a "release" branch from current "dev" and deploy it for testing.
- Fix a few bugs within "release" branch. Each bug is fixed by branching from "release" into its own hotfix branch and getting the code back via pull request. To ensure that every hotfix also gets back into "dev", we cherry-pick every completed PR from hotfix to "release", and PR it again into "dev".
- Now "release" branch state is signed-off by QA as ready for production, and we need to ensure that "develop" contains all the changes and nothing is missing. We compare "release" and "develop" in TFS web, and try to create a PR from "release" to "develop".
Expected behavior: no changes are needed to be pulled from "release" to "develop" as every single change was already pulled there in its own PR.
Actual behavior: every single hotfix we made into "release" displays as code difference between "release" and "develop" - even though actual code lines are THE SAME.
Questions:
1) Are we doing something wrong here? 2) How can we see the ACTUAL changes pending from "release" to "develop" due to the hotfixes?