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
zeripath c52f81eecc
Ensure rejected push to refs/pull/index/head fails nicely (#11724) (#11809)
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>
5 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago
issue Fix ref links in issue overviews for tags (#8742) 5 years ago
mailer Sendmail should create a process on the gitea system and have a default timeout (#11256) 5 years ago
mirror Refactor Cron and merge dashboard tasks (#10745) 5 years ago
pull Ensure rejected push to refs/pull/index/head fails nicely (#11724) (#11809) 5 years ago
release When using API CreateRelease set created_unix to the tag commit time (#11218) 5 years ago
repository API endpoint for repo transfer (#9947) 5 years ago
wiki Handle push rejection in branch and upload (#10854) 5 years ago