Merge request doesn't show that a modified file was renamed
Summary
If you rename and modify a file, and then commit it and create a merge request for it, the MR's diff will not show you that a rename took place. Instead, you will be shown that the original file was deleted, and that the renamed file was added.
In older versions (i.e. 11.0.0-ee
you would be shown that the file was renamed)
Steps to reproduce
- Create a project with
README.md
- Rename this file, and modify it as well.
- Commit to a new branch
- Create merge request
Example Project
nelbacha/rename-test!2 (diffs)
What is the current bug behavior?
The MR's diff shows a deletion of file, and addition of file.
What is the expected correct behavior?
The MR's diff shows a Rename of file
Relevant logs and/or screenshots
How it looks like on GitLab.com
Output of checks
This bug happens on GitLab.com
Links / references
ZD#135016 ( GitLab internal)