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
- Enable
pinned_file
feature flag - Open any merge request
- Link to some file deep in the changes
- Open that link a new tab
- No duplicate or missing files should be found in the diff view