When not showing whitespace changes, renamed files are not properly identified in MR Diffs
Summary
When the option "Show whitespace changes" is disabled, any renamed files are not highlighted in the MR diffs file headers.
Steps to reproduce
- Prepare a MR with a renamed file
- Open the MR
- Ensure setting "Show whitespace changes" is disabled
- Scroll to renamed file and check it's displayed as a normal file (non-renamed)
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Possible fixes
If we treat Diffs the same way regardless of this preference value, this and other bugs will go away.