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.
gitea/modules/gitrepo
wxiaoguang 6d5aa9218e
Refactor request context (#32956)
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.

RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.

Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.
2 months ago
..
branch.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
gitrepo.go Refactor request context (#32956) 2 months ago
url.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 8 months ago
walk_gogit.go Refactor request context (#32956) 2 months ago
walk_nogogit.go