File mode changes are not always visible in the merge request diff view
What does this MR do and why?
File mode changes to a file are not visible in the merge request diff view if there are changes to the contents of the file as well or if the file was renamed.
However, if the only changes are to the file mode, then everything works as expected.
Closes #208556 (closed)
Screenshots or screen recordings
Before
After
How to set up and validate locally
- Open a MR that changes the mode of a certain file & either updates its content or renames it
- Go to the diff view of the MR
- The file mode changes should be visible in the header of the file
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.