Files
Gitea/services/pull/patch.go
T
zeripathandGitHub 57cca44c5e Generate Diff and Patch direct from Pull head (#10936)
* Generate Diff and Patch direct from Pull head

Fix #10932
Also fix "Empty Diff/Patch File when pull is merged"

Closes #10934

Signed-off-by: Andrew Thornton <[email protected]>

* Add tests to ensure that diff does not change

Signed-off-by: Andrew Thornton <[email protected]>

* Ensure diffs and pulls pages work if head branch is deleted too

Signed-off-by: Andrew Thornton <[email protected]>
2020-04-03 21:21:41 +08:00

5.7 KiB