1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 03:45:14 +01:00
gitea/routers/repo
zeripath 51775f65bc
Make commit info cancelable (#16032)
* Make modules/context.Context a context.Context

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Simplify context calls

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Set the base context for requests to the HammerContext

Signed-off-by: Andrew Thornton <art27@cantab.net>

* pass context into get-last-commit

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make commit_info cancellable

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use context as context

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-06-06 19:44:58 -04:00
..
activity.go
attachment.go
blame.go Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
branch.go
commit.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
compare.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
download.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
editor_test.go
editor.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
http.go Restore token authentication for git http when 2FA active (#15915) 2021-05-18 22:30:33 -04:00
issue_dependency.go
issue_label_test.go
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
issue.go
lfs.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
main_test.go
middlewares.go
migrate.go
milestone.go
projects_test.go
projects.go
pull_review.go
pull.go Add links to toggle WIP status (#14677) 2021-05-27 22:02:04 +02:00
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
settings_test.go
topic.go
view.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
webhook.go
wiki_test.go
wiki.go