forgejo/services/pull
Lunny Xiao b167f35113
Add context parameter to some database functions ()
To avoid deadlock problem, almost database related functions should be
have ctx as the first parameter.
This PR do a refactor for some of these functions.
2023-07-22 22:14:27 +08:00
..
check.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
check_test.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
comment.go Make more functions use ctx instead of db.DefaultContext () 2023-04-14 14:18:28 -04:00
commit_status.go Support for status check pattern () 2023-05-17 16:11:13 +08:00
edits.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
lfs.go Refactor and tidy-up the merge/update branch code () 2023-03-07 15:07:35 -05:00
main_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
merge.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
merge_merge.go Refactor and tidy-up the merge/update branch code () 2023-03-07 15:07:35 -05:00
merge_prepare.go Refactor merge/update git command calls () 2023-03-09 09:48:52 -06:00
merge_rebase.go Merge message template support for rebase without merge commit () 2023-05-22 09:01:46 +08:00
merge_squash.go Improve squash merge commit author and co-author with private emails () 2023-03-09 22:17:04 -05:00
merge_test.go Support template for merge message description () 2022-12-29 14:40:20 +02:00
patch.go Refactor and tidy-up the merge/update branch code () 2023-03-07 15:07:35 -05:00
patch_unmerged.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
pull.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
pull_test.go Support template for merge message description () 2022-12-29 14:40:20 +02:00
review.go Fix bug when pushing to a pull request which enabled dismiss approval automatically () 2023-07-20 15:18:52 +08:00
temp_repo.go Sync branches into databases () 2023-06-29 10:03:20 +00:00
update.go Sync branches into databases () 2023-06-29 10:03:20 +00:00
update_rebase.go Refactor and tidy-up the merge/update branch code () 2023-03-07 15:07:35 -05:00