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 Fix bug where repositories appear unadopted (#15757) 2021-05-07 09:21:34 +08:00
branch.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
cache.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
check.go Update repository size on cron gc task (#15177) 2021-03-28 05:56:28 +02:00
commits_test.go Double the avatar size factor (#15941) 2021-05-21 21:18:43 -04:00
commits.go Fix frontpage avatars (#13853) 2020-12-09 01:12:15 +01:00
create_test.go
create.go Check if label template exist first (#14384) 2021-01-18 21:00:50 +01:00
fork_test.go
fork.go Fix potential copy lfs records failure when fork a repository (#15441) 2021-04-14 22:15:28 +01:00
generate.go Ensure that HEAD is updated to match default branch in template generation (#13948) 2020-12-11 22:41:59 +01:00
hooks.go Set GIT_DIR correctly if it is not set (#15751) 2021-05-07 15:19:09 +02:00
init.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
main_test.go
push.go Fix a bug on refactoring (#13373) 2020-10-31 23:42:54 +08:00
repo.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
update.go