Skip to content

Resolve "When not showing whitespace changes, renamed files are not properly identified in MR Diffs"

What does this MR do?

When Show Whitespaces in the merge request page is unchecked, there is an issue where the file is shown incorrectly as a full new file, rather than a rename. This is because we need to request old the old and new path's in the batch.

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #334273 (closed)

Edited by Marc Shaw

Merge request reports