Allow .patch to be appended to any Compare URL
### Problem to solve Gitlab currently supports getting a patch from any MR by appending `.patch` to the URL. [An example](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31527.patch). The problem/feature here is that the patch evolves as commits are pushed to the source branch. This request is for .patch to work for any two references than can be Compared. So, a Compare URL with .patch appended would work. An example would be https://gitlab.com/drupalspoons/webmasters/-/compare/d1a6e292159f148a7869300b32d18d457179218c...master.patch ### Intended users Developers, Sysadmins ### User experience goal Quickly get the code representation thats needed. ### Permissions and Security No new security concern. There URLs should work exactly like requests without .patch appended. ### Documentation .patch is not currently documented AFAICT. I'm happy to write the docs if this proposal is accepted. ### Links / references Github has this feature. [An example](https://github.com/drush-ops/drush/commit/c3abfe75894f8911c93d13d3724308a4e0872308.patch).
issue