0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 15:52:05 +01:00
gitea/routers/private
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>
2022-01-19 23:26:57 +00:00
..
default_branch.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
hook_post_receive.go show pull link for agit pull request also (#18235) 2022-01-17 13:56:43 +08:00
hook_pre_receive.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
hook_proc_receive.go
hook_verification.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
internal_repo.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
internal.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
key.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
mail.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_unix.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_windows.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
restore_repo.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
serv.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
ssh_log.go