Skip to content

Fixed whitespace toggle not showing the correct diff

What does this MR do?

Fixes the whitespace toggle not showing the correct diff. This was caused because when we get the diff files data we combine with previous data, if the lines already exist we don't change. Simple boring fix for this is to clear the diff files state.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability 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 #211585 (closed)

Merge request reports