gitea/models
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
..
activities
admin
asymkey
auth
avatars
db
fixtures
git Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
issues Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
migrations
organization
packages
perm
project
pull
repo
secret
system
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go
org_team_test.go
org_team.go
org_test.go
org.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go
user.go