Patch file from a specific version

/merge_requests/:id.patch always reflects the latest version of the MR.

/merge_requests/:id/diffs?diff_id=:version_id shows the diff for a specific version.
/merge_requests/:id/diffs.patch?diff_id=:version_id does not care about the diff_id query argument and return the latest version.

Is there a way to get the patch file for a specific version of a MR?


I think the answer is this feature request in Gitlab issue queue : Allow .patch to be appended to any Compare URL (#217206) · Issues · / GitLab · GitLab.