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/services/repository
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868)
This PR continues the work in #17125 by progressively ensuring that git
commands run within the request context.

This now means that the if there is a git repo already open in the context it will be used instead of reopening it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
archiver Propagate context and ensure git commands run in request context (#17868) 3 years ago
files Propagate context and ensure git commands run in request context (#17868) 3 years ago
adopt.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
adopt_test.go services/repository: fix ListUnadoptedRepositories incorrect total count (#17865) 3 years ago
avatar.go Some repository refactors (#17950) 3 years ago
avatar_test.go Some repository refactors (#17950) 3 years ago
branch.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
cache.go Move repository model into models/repo (#17933) 3 years ago
check.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
fork.go Some repository refactors (#17950) 3 years ago
fork_test.go Some repository refactors (#17950) 3 years ago
hooks.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
push.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
repository.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
template.go Some repository refactors (#17950) 3 years ago
transfer.go Fix rename notification bug (#18008) 3 years ago
transfer_test.go Move repository model into models/repo (#17933) 3 years ago