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/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>
3 years ago
..
blob.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
branch.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
collaborators.go Move repository model into models/repo (#17933) 3 years ago
commits.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
file.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 3 years ago
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_comment.go Fix PR comments UI (#18323) 3 years ago
issue_label.go
issue_reaction.go Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
issue_stopwatch.go
issue_subscription.go When attempting to subscribe other user to issue report why access denied (#18091) 3 years ago
issue_tracked_time.go
key.go Move keys to models/asymkey (#17917) 3 years ago
label.go
language.go Move repository model into models/repo (#17933) 3 years ago
main_test.go
migrate.go Some repository refactors (#17950) 3 years ago
milestone.go
mirror.go
notes.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
pull.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
pull_review.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
release.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
release_attachment.go
release_tags.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
repo.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
repo_test.go Move repository model into models/repo (#17933) 3 years ago
star.go Some repository refactors (#17950) 3 years ago
status.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
subscriber.go Some repository refactors (#17950) 3 years ago
tag.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
teams.go Move repository model into models/repo (#17933) 3 years ago
topic.go Some repository refactors (#17950) 3 years ago
transfer.go Add API to manage repo tranfers (#17963) 3 years ago
tree.go Propagate context and ensure git commands run in request context (#17868) 3 years ago
wiki.go Propagate context and ensure git commands run in request context (#17868) 3 years ago