Skip to content

Fix to show renamed file in mr

Samantha Ming requested to merge 59786-show-renamed-file-in-mr into master

What does this MR do?

Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/59786

When you rename an existing file and make some changes to it. The old file name is no longer shown, only the new name is displayed. This MR fixes that. Where the old and new file name will be both displayed.

Testing Case

  1. Navigate to a Merge Request
  2. Click on "Open in Web IDE"
  3. This will launch the editor
  4. Find a random file and rename it
  5. Commit the changes
  6. Find that renamed file and insert a line of text
  7. Commit the changes
  8. Navigate back to the Merge Request
  9. Click on the "Changes" tab
  • The header should include the updated file name as well as the old one

_


_

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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

Closes #59786 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports