gitea/services/pull
Brecht Van Lommel aa87b36900
Fix 500 error viewing pull request when fork has pull requests disabled (#22512)
Swallow error just like in #20839, for the case where there is no
protected branch.

Fixes #20826 for me, though I can't tell if this now covers all cases.
2023-01-18 13:54:57 -06:00
..
check_test.go
check.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
comment.go
commit_status.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
edits.go
lfs.go
main_test.go
merge_test.go
merge.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
patch_unmerged.go
patch.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
pull_test.go
pull.go some refactor about code comments (#20821) 2023-01-17 15:03:44 -06:00
review.go some refactor about code comments (#20821) 2023-01-17 15:03:44 -06:00
temp_repo.go
update.go Fix 500 error viewing pull request when fork has pull requests disabled (#22512) 2023-01-18 13:54:57 -06:00