1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/services
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
..
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Check if diff actually contains sections when rendering (#9926) (#9933) 2020-01-22 08:02:57 +00:00
issue Trigger webhooks on issue label-change via API too (#10421) (#10439) 2020-02-24 14:30:59 +00:00
mailer [BugFix] Avoid mailing explicit unwatched (#10475) (#10500) 2020-02-27 11:42:51 -06:00
mirror Use limited commits (#9572) 2020-01-01 11:54:56 +08:00
pull Generate Diff and Patch direct from Pull head (#10936) (#10938) 2020-04-03 17:06:54 +03:00
release Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
repository Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) (#9974) 2020-01-25 17:39:53 +08:00
wiki Move wiki related funtions from models to services/wiki (#9355) 2020-01-07 18:27:36 +00:00