githaven-fork/services/pull
Jason Song 7adc2de464
Use context parameter in models/git (#22367)
After #22362, we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
check_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
check.go Use complete SHA to create and query commit status (#22244) 2022-12-27 21:12:49 +08:00
comment.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
commit_status.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
edits.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lfs.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
merge_test.go Support template for merge message description (#22248) 2022-12-29 14:40:20 +02:00
merge.go Support template for merge message description (#22248) 2022-12-29 14:40:20 +02:00
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
patch.go Add setting to disable the git apply step in test patch (#22130) 2022-12-19 19:37:15 +08:00
pull_test.go Support template for merge message description (#22248) 2022-12-29 14:40:20 +02:00
pull.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
review.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
temp_repo.go Use complete SHA to create and query commit status (#22244) 2022-12-27 21:12:49 +08:00
update.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00