gitea/services/repository
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
..
archiver
files Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
adopt_test.go
adopt.go
avatar_test.go
avatar.go
branch.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
cache.go
check.go
fork_test.go
fork.go
hooks.go
lfs.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
main_test.go
push.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
repository_test.go
repository.go
review_test.go
review.go
template.go
transfer_test.go
transfer.go