gitea/modules/indexer
zeripath 3ae4c4898b
Prevent hang in git cat-file if the repository is not a valid repository (Partial ) ()
* Prevent hang in git cat-file if the repository is not a valid repository (Partial )

Unfortunately it appears that if git cat-file is run in an invalid
repository it will hang until stdin is closed. This will result in
deadlocked /pulls pages and dangling git cat-file calls if a broken
repository is tried to be reviewed or pulls exists for a broken
repository.

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

* placate lint

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

* fix compilation bug

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

* Add the missing directories to the testrepos

* fixup! Add the missing directories to the testrepos

* and ensure that all of the other places have the objects directories too

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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-12-17 10:08:00 +08:00
..
bleve Fix data race in bleve indexer () () 2021-07-22 11:42:32 +08:00
code Prevent hang in git cat-file if the repository is not a valid repository (Partial ) () 2021-12-17 10:08:00 +08:00
issues Fix data race in bleve indexer () () 2021-07-22 11:42:32 +08:00
stats Fix golangci-lint warnings ( et al) () 2021-11-16 20:38:49 +00:00