Document the .diff feature in merge requests
Problem to solve
The .diff
feature of merge requests is undocumented. We should fix that.
Further details
From @jerasmus via @ekigbo: adding .diff
to a merge request URL will display the diff of the merge request. This makes grabbing MR patches super simple:
curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/000000.diff | git apply
Also, check that Download > Plain diff in the merge request is documented, too. I grepped for plain diff
in the docs just now, and found nothing.
FYI to @phikai and @tlinz - I'm unsure if I should count this as groupcode review or groupsource code, but either way it needs documenting.