Get diffs / patches on merge requests and fix them on specific commit
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=404959) </details> <!--IssueSummary end--> <!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal When on a merge request (MR) I can generate a diff _or_ patch by appending the URL of that MR with `.diff` or `.patch`. I would be great if there was a way to generate a patch that is fixed to a specific commit. What I would like to achieve with this is making sure the patch stays the same without having to worry someone might add additional commits to that MR in the future. Potentially introducing (security) risks if that patch would be blindly applied in the future. What I could think of, is that it would be possible to add a `?commit_id=abc123` to the patch. eg. `../-/merge_requests/1234.patch?commit_id=abc123` which would generate a patch up until that point.
issue