gitea/services
zeripath 78e6b21c1a
Improve checkIfPRContentChanged ()
The code for checking if a commit has caused a change in a PR is
extremely inefficient and affects the head repository instead of using a
temporary repository.

This PR therefore makes several significant improvements:

* A temporary repo like that used in merging.
* The diff code is then significant improved to use a three-way diff
instead of comparing diffs (possibly binary) line-by-line - in memory...

Ref 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
agit Rename almost all Ctx functions ()
asymkey Supports wildcard protected branch ()
attachment Add API management for issue/pull and comment attachments ()
auth Support scoped access tokens ()
automerge refactor some functions to support ctx as first parameter ()
context Support org/user level projects ()
convert Fix pull request API field `closed_at` always being `null` ()
cron Add cron method to gc LFS MetaObjects ()
externalaccount Implement FSFE REUSE for golang files ()
forms Support scoped access tokens ()
gitdiff Implement FSFE REUSE for golang files ()
issue Webhooks: for issue close/reopen action, add commit ID that caused it ()
lfs Use context parameter in models/git ()
mailer fix permission check for creating comment while mail ()
markup Implement FSFE REUSE for golang files ()
migrations Prevent duplicate labels when importing more than 99 ()
mirror Implement FSFE REUSE for golang files ()
org Implement FSFE REUSE for golang files ()
packages Display unreferenced packages total size in package admin panel ()
pull Improve checkIfPRContentChanged ()
release Add API management for issue/pull and comment attachments ()
repository When updating by rebase we need to set the environment for head repo ()
task Implement FSFE REUSE for golang files ()
user Unify hashing for avatar ()
webhook Webhooks: for issue close/reopen action, add commit ID that caused it ()
wiki Improve utils of slices ()