Skip to content

Fix missing diff_head param on the pinned file URL

What does this MR do and why?

Fixes [merge requests] diff_by_file_hash action retur... (#437724 - closed) by providing diff_head: true to the diff_by_file_hash endpoint path method for the pinned file.

Follow this discussion for more details.

How to set up and validate locally

  1. Enable pinned_file feature flag
  2. Open any merge request
  3. Link to some file deep in the changes
  4. Open that link a new tab
  5. No duplicate or missing files should be found in the diff view

Merge request reports