0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 14:56:20 +01:00
gitea/services
delvh 6a0330979f
Ignore error when retrieving changed PR review files (#21487)
When a PR reviewer reviewed a file on a commit that was later gc'ed,
they would always get a `500` response from then on when loading the PR.
This PR simply ignores that error and instead marks all files as
unchanged.
This approach was chosen as the only feasible option without diving into
**a lot** of error handling.

Fixes #21392

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-20 16:29:40 +08:00
..
agit
asymkey
attachment
auth
automerge
comments
context
cron
externalaccount
forms
gitdiff Ignore error when retrieving changed PR review files (#21487) 2022-10-20 16:29:40 +08:00
issue
lfs
mailer
migrations
mirror
org
packages
pull
release
repository
task
user
webhook
wiki