forgejo/services
zeripath 09f7d84f4c
Ensure rejected push to refs/pull/index/head fails nicely (#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>
2020-06-08 19:07:41 +01:00
..
comments
externalaccount
gitdiff Fix issue with DiffIndex on initial commit (#11677) 2020-05-29 22:14:00 +01:00
issue
mailer Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
mirror Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
pull Ensure rejected push to refs/pull/index/head fails nicely (#11724) 2020-06-08 19:07:41 +01:00
release
repository
wiki