forgejo/routers/api/v1/repo
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
..
blob.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
branch.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
collaborators.go
commits.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
pull.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
pull_review.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
release.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
release_attachment.go
release_tags.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
repo.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
repo_test.go
star.go
status.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
subscriber.go
tag.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
teams.go
topic.go
transfer.go
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
wiki.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00