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.
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>
2 years ago
..
activity.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
attachment.go Move attachment into models/repo/ (#17650) 3 years ago
blame.go Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
branch.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
commit.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
compare.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
download.go Move repository model into models/repo (#17933) 3 years ago
editor.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
editor_test.go Decouple unit test code from business code (#17623) 3 years ago
http.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
http_test.go Fix http path bug (#16117) 3 years ago
issue.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
issue_content_history.go Move unit into models/unit/ (#17576) 3 years ago
issue_dependency.go Rename context.Query to context.Form (#16562) 3 years ago
issue_label.go Use a standalone struct name for Organization (#17632) 3 years ago
issue_label_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
issue_lock.go Refactor routers directory (#15800) 3 years ago
issue_stopwatch.go Multiple Escaping Improvements (#17551) 3 years ago
issue_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
issue_timetrack.go Refactor routers directory (#15800) 3 years ago
issue_watch.go Refactor routers directory (#15800) 3 years ago
lfs.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
middlewares.go Move user related model into models/user (#17781) 3 years ago
migrate.go Unify and simplify TrN for i18n (#18141) 3 years ago
milestone.go Multiple Escaping Improvements (#17551) 3 years ago
projects.go Removed unused method. (#18129) 3 years ago
projects_test.go Decouple unit test code from business code (#17623) 3 years ago
pull.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
pull_review.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
release.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
release_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
repo.go Unify and simplify TrN for i18n (#18141) 3 years ago
search.go Related refactors to ctx.FormX functions (#16567) 3 years ago
setting.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
setting_protected_branch.go Move repository model into models/repo (#17933) 3 years ago
settings_test.go Move keys to models/asymkey (#17917) 3 years ago
tag.go Move repository model into models/repo (#17933) 3 years ago
topic.go Some repository refactors (#17950) 3 years ago
view.go Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
webhook.go Add replay of webhooks. (#18191) 3 years ago
wiki.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
wiki_test.go Move repository model into models/repo (#17933) 3 years ago