0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 07:14:34 +01:00
gitea/routers
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
..
admin
api/v1 Add option to API to update PullRequest base branch (#11666) 2020-06-07 20:13:40 +01:00
dev
events
org Fix visibility of forked public repos from private orgs (#11717) 2020-06-06 20:45:12 -04:00
private
repo Ensure rejected push to refs/pull/index/head fails nicely (#11724) 2020-06-08 19:07:41 +01:00
routes Move serviceworker to workbox and fix SSE interference (#11538) 2020-05-21 21:45:34 -04:00
user Add hide activity option (#11353) 2020-06-05 16:01:53 -04:00
utils
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) 2020-05-18 00:27:54 +01:00
init.go
install.go
metrics.go
swagger_json.go