mirror of
https://github.com/go-gitea/gitea
synced 2024-12-28 11:34:26 +00:00
c52f81eecc
Backport #11724 A pre-receive hook that rejects pushes to refs/pull/index/head will cause a broken PR which causes an internal server error whenever it is viewed. This PR handles prevents the internal server error by handling non-existent pr heads and sends a flash error informing the creator there was a problem. Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
check_test.go | ||
check.go | ||
commit_status.go | ||
lfs.go | ||
main_test.go | ||
merge.go | ||
patch.go | ||
pull_test.go | ||
pull.go | ||
review.go | ||
temp_repo.go | ||
update.go |