diff options
author | Giteabot <teabot@gitea.io> | 2024-04-25 14:22:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 14:22:02 +0800 |
commit | bb6edb2eed7a003bce6fb87e5e24bd7a511e72f2 (patch) | |
tree | 407758ad5105efce5c20fa1c10962ccbd399df64 /integrations/repo_generate_test.go | |
parent | ad34d221139a43f1ac9e884906a604bf0a44e585 (diff) | |
download | gitea-bb6edb2eed7a003bce6fb87e5e24bd7a511e72f2.tar.gz gitea-bb6edb2eed7a003bce6fb87e5e24bd7a511e72f2.zip |
Fix a panic bug when head repository deleting (#30674) (#30676)
Backport #30674 & #30679 by @lunny
When visiting a pull request files which head repository has been
deleted, it will panic because headrepo is nil.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'integrations/repo_generate_test.go')
0 files changed, 0 insertions, 0 deletions