0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-06 17:35:54 +02:00
gitea/routers/repo
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
..
activity.go
attachment.go Move dropzone.js to npm/webpack (#10645) 2020-03-07 21:06:15 +00:00
blame.go Load Repo Topics on blame view (#11307) 2020-05-05 22:51:49 +01:00
branch.go Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
commit.go Fix numbr of files, total additions, and deletions (#11614) 2020-05-26 01:58:07 -04:00
compare.go Fix numbr of files, total additions, and deletions (#11614) 2020-05-26 01:58:07 -04:00
download.go
editor.go Fix numbr of files, total additions, and deletions (#11614) 2020-05-26 01:58:07 -04:00
editor_test.go
http.go Fix missing authorization check on pull for public repos of private/limited org (#11656) 2020-05-29 15:47:17 +01:00
issue.go Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
issue_dependency.go
issue_label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go Migrate to go-git/go-git v5.0.0 (#10735) 2020-03-17 12:19:58 -04:00
main_test.go
middlewares.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
milestone.go Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
pull.go Ensure rejected push to refs/pull/index/head fails nicely (#11724) 2020-06-08 19:07:41 +01:00
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
release.go Add single release page and latest redirect (#11102) 2020-04-18 11:47:15 -03:00
release_test.go
repo.go Allow site admin to disable mirrors (#11740) 2020-06-02 21:21:38 -04:00
search.go
setting.go Fix doer of rename repo (#11789) 2020-06-07 18:23:13 +03:00
setting_protected_branch.go Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
settings_test.go
topic.go
view.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
webhook.go Fix webhook template when validation errors occur (#11421) 2020-05-15 22:02:46 +03:00
wiki.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
wiki_test.go