mirror of
1
Fork 0
forgejo/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 Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
externalaccount
forms
gitdiff Ignore error when retrieving changed PR review files (#21487) 2022-10-20 16:29:40 +08:00
issue Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
lfs
mailer Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
migrations Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
mirror Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
org move invite by mail to services package (#21513) 2022-10-20 11:23:31 +08:00
packages
pull
release Do not send notifications for draft releases (#21451) 2022-10-17 17:33:27 -04:00
repository Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2022-10-18 07:50:37 +02:00
task
user Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
webhook
wiki Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00