0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 17:54:52 +01:00
gitea/modules/repository
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
..
adopt.go
branch.go
cache.go
check.go
commits.go
commits_test.go
create.go Check if label template exist first (#14384) 2021-01-18 21:00:50 +01:00
create_test.go
fork.go
fork_test.go
generate.go
hooks.go
init.go
main_test.go
push.go
repo.go
update.go