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
..
cherry_pick.go Implement FSFE REUSE for golang files (#21840) 2 years ago
commit.go Use context parameter in models/git (#22367) 1 year ago
content.go Implement FSFE REUSE for golang files (#21840) 2 years ago
content_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
delete.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
file.go Implement FSFE REUSE for golang files (#21840) 2 years ago
file_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
patch.go Use context parameter in models/git (#22367) 1 year ago
temp_repo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tree.go Use complete SHA to create and query commit status (#22244) 1 year ago
tree_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
update.go Use context parameter in models/git (#22367) 1 year ago
upload.go Use context parameter in models/git (#22367) 1 year ago