forgejo/models/git
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
..
branches.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
branches_test.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
commit_status.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
commit_status_test.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
lfs.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
lfs_lock.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
protected_tag.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00