gitea/services/pull
zeripath 1fe5fe419e
Always set the merge base used to merge the commit () ()
Backport 

The issue is that the TestPatch will reset the PR MergeBase - and it is possible for TestPatch to update the MergeBase whilst a merge is ongoing. The ensuing merge will then complete but it doesn't re-set the MergeBase it used to merge the PR.

Fixes the intermittent error in git test.

Signed-off-by: Andrew Thornton art27@cantab.net
..
check.go Make manual merge autodetection optional and add manual merge as merge method ()
check_test.go migrate from com.* to alternatives ()
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs ()
lfs.go Add basic repository lfs management ()
main_test.go Move some pull request functions from models to services ()
merge.go Always set the merge base used to merge the commit () ()
patch.go Make manual merge autodetection optional and add manual merge as merge method ()
pull.go Migrate to use jsoniter instead of encoding/json ()
pull_test.go Move PushToBaseRepo from models to services/pull ()
review.go Fix a couple of CommentAsPatch issues. ()
temp_repo.go Handle more pathological branch and tag names ()
update.go IsUserAllowedToUpdate ignore igonre if user is nil ()