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.
forgejo/modules/repository
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2 years ago
..
commits.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
commits_test.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
create.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
create_test.go Add `GetUserTeams` (#18499) 2 years ago
generate.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
hooks.go format with gofumpt (#18184) 2 years ago
init.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
push.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
repo.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago