]> source.dussan.org Git - gitea.git/commit
Fix a panic bug when head repository deleting (#30674)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 24 Apr 2024 05:26:50 +0000 (13:26 +0800)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2024 05:26:50 +0000 (13:26 +0800)
commit8b3632435ef72c351af34a154b13511b34323471
tree7bf8a6c75ad6dbf52881c4b5de6533062fe9a7f2
parent2ad9ef4984f0b68ef38241fd6b557d8427d851d8
Fix a panic bug when head repository deleting (#30674)

When visiting a pull request files which head repository has been
deleted, it will panic because headrepo is nil.
routers/web/repo/pull.go