forgejo/modules
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
..
activitypub
analyze
auth
avatar
base
cache
charset
container
context Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
csv
doctor
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification Always reuse transaction (#22362) 2023-01-08 09:34:58 +08:00
options
packages
paginator
password
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
secret
session
setting
sitemap
ssh
storage
structs
svg
sync
system
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util
validation
watcher
web
webhook