You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
check.go Use complete SHA to create and query commit status (#22244) 2 years ago
check_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
comment.go Rename almost all Ctx functions (#22071) 2 years ago
commit_status.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
edits.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Use context parameter in models/git (#22367) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
merge.go Support template for merge message description (#22248) 2 years ago
merge_test.go Support template for merge message description (#22248) 2 years ago
patch.go Add setting to disable the git apply step in test patch (#22130) 2 years ago
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Rename almost all Ctx functions (#22071) 2 years ago
pull_test.go Support template for merge message description (#22248) 2 years ago
review.go Rename almost all Ctx functions (#22071) 2 years ago
temp_repo.go Use complete SHA to create and query commit status (#22244) 2 years ago
update.go Use context parameter in models/git (#22367) 1 year ago