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 Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
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 add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00