Skip to content

Truncate file paths in diff header

Phil Hughes requested to merge ph/330749/fixDiffsLongFileName into master

What does this MR do?

Truncates file paths in the diff file header in the middle of path to help with longer file paths in diffs.

Screenshots (strongly suggested)

Screenshot_2021-05-25_at_14.30.31

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

Closes #330749

Merge request reports