Hide modifications that are in the target branch when comparing versions of a merge request
Summary
When comparing between two versions of a merge request, it shows modifications that were merged from the target branch
Steps to reproduce
- Create a branch "A" from master
- Create a merge request for "A" and target it to master
- Make some commits to "A" with modifications
- Make other commits and modifications to the master branch
- Merge the master branch with "A" (bring the modifications from master to branch "A")
- Compare between the first version and the last version
What is the current bug behavior?
- Comparing between versions will show the changes done in the target branch
What is the expected correct behavior?
- Code that is already in the target branch should not be shown as a change (since it interferes with reviewing the merge request, these are changes that are not related to the merge request)