forgejo/services/pull
6543 9c349a4277
Move checks for pulls before merge into own function (#19271)
This make checks in one single place so they dont differ and maintainer can not forget a check in one place while adding it to the other .... ( as it's atm )

Fix:
* The API does ignore issue dependencies where Web does not
* The API checks if "IsSignedIfRequired" where Web does not - UI probably do but nothing will some to craft custom requests
* Default merge message is crafted a bit different between API and Web if not set on specific cases ...
2022-03-31 16:53:08 +02:00
..
check.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
check_test.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
commit_status.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
lfs.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
merge.go Move checks for pulls before merge into own function (#19271) 2022-03-31 16:53:08 +02:00
patch.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
patch_unmerged.go Change git.cmd to RunWithContext (#18693) 2022-02-11 13:47:22 +01:00
pull.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
pull_test.go Append to existing trailers in generated squash commit message (#15980) 2021-06-25 13:01:43 -04:00
review.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
temp_repo.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
update.go Add config option to disable "Update branch by rebase" (#18745) 2022-03-04 03:30:49 -05:00