forgejo/services/pull
zeripath 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 <art27@cantab.net>

* Add tests to ensure that diff does not change

Signed-off-by: Andrew Thornton <art27@cantab.net>

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

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-04-03 21:21:41 +08:00
..
check.go Only update merge_base in checker if not already merged (#10908) 2020-04-01 15:02:11 +03:00
check_test.go
commit_status.go Fix bug on pull view when required status check no ci result (#10648) 2020-03-07 07:33:20 +00:00
lfs.go
main_test.go
merge.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
patch.go Generate Diff and Patch direct from Pull head (#10936) 2020-04-03 21:21:41 +08:00
pull.go Only update merge_base in checker if not already merged (#10908) 2020-04-01 15:02:11 +03:00
pull_test.go
review.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
temp_repo.go Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 2020-04-01 20:03:08 +01:00
update.go Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 2020-04-01 20:03:08 +01:00