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.
gitea/services/pull
zeripath 3ae4c4898b
Prevent hang in git cat-file if the repository is not a valid repository (Partial #17991) (#17992)
* Prevent hang in git cat-file if the repository is not a valid repository (Partial #17991)

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>
3 years ago
..
check.go Fix golangci-lint warnings (#17598 et al) (#17668) 3 years ago
check_test.go Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 4 years ago
commit_status.go
lfs.go Add LFS Migration and Mirror (#14726) 4 years ago
main_test.go
merge.go Fix golangci-lint warnings (#17598 et al) (#17668) 3 years ago
patch.go
pull.go Prevent hang in git cat-file if the repository is not a valid repository (Partial #17991) (#17992) 3 years ago
pull_test.go Append to existing trailers in generated squash commit message (#15980) 4 years ago
review.go Add attachments for PR reviews (#16075) 4 years ago
temp_repo.go Add checkbox to delete pull branch after successful merge (#16049) 4 years ago
update.go Add checkbox to delete pull branch after successful merge (#16049) 4 years ago