gitea/services/pull
zeripath 99a364a9dc
Generate Diff and Patch direct from Pull head (#10936) (#10938)
Backport #10936

* Generate Diff and Patch direct from Pull head

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

Closes #10934

* Add tests to ensure that diff does not change
* Ensure diffs and pulls pages work if head branch is deleted too

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-04-03 17:06:54 +03:00
..
check.go Only update merge_base if not already merged (#10909) 2020-04-01 15:33:44 +03:00
check_test.go Only check for conflicts/merging if the PR has not been merged in the interim (#10132) (#10206) 2020-02-10 13:09:08 +00:00
commit_status.go Fix bug on pull view when required status check no ci result (#10648) (#10651) 2020-03-07 17:32:08 +08:00
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
main_test.go Move some pull request functions from models to services (#9266) 2019-12-06 21:44:10 -05:00
merge.go Handle push rejection message in Merge & Web Editor (#10373) (#10497) 2020-02-27 15:37:11 +02:00
patch.go Generate Diff and Patch direct from Pull head (#10936) (#10938) 2020-04-03 17:06:54 +03:00
pull.go Only update merge_base if not already merged (#10909) 2020-04-01 15:33:44 +03:00
pull_test.go Move PushToBaseRepo from models to services/pull (#9352) 2019-12-15 04:28:51 +01:00
review.go remove unused method and rename createcommentWithNoAction (#9367) 2019-12-16 11:54:24 +08:00
temp_repo.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00