Support diff versions when downloading merge request diff or patch files
What does this MR do and why?
Support diff versions when generating merge request diff or patch files
Add support for downloading diff and patch files when viewing a specific MR diff version.
References
Related to #373246 (closed)
How to set up and validate locally
- Open a merge request with multiple diff versions. You can push to the MR branch multiple times to generate one.
- On the changes tab, change the "Compare" dropdowns to any version
- Append
.diff/.patchto the URL path
It should generate the patch / diff based on the selected compare versions. The generated file should be consistent with what's shown on the web UI.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu