Giteabot bb6edb2eed
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>
2024-04-25 14:22:02 +08:00
..
2024-03-21 12:02:34 +00:00