Skip to content

Conversation

@GiteaBot
Copy link
Collaborator

@GiteaBot GiteaBot commented Apr 24, 2024

Backport #30674 & #30679 by @lunny

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

When visiting a pull request files which head repository has been
deleted, it will panic because headrepo is nil.
@GiteaBot GiteaBot added modifies/go Pull requests that update Go code type/bug labels Apr 24, 2024
@GiteaBot GiteaBot added this to the 1.22.0 milestone Apr 24, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 24, 2024
@GiteaBot GiteaBot requested review from Zettat123 and yp05327 April 24, 2024 05:27
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 24, 2024
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 24, 2024
@pull-request-size pull-request-size bot added size/M and removed size/S labels Apr 24, 2024
@yp05327 yp05327 self-requested a review April 24, 2024 06:43
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. labels Apr 24, 2024
@yp05327
Copy link
Contributor

yp05327 commented Apr 24, 2024

wait. tests are added.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 24, 2024
Copy link
Contributor

@yp05327 yp05327 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz also fix the problem in the original pr

@lunny lunny merged commit bb6edb2 into go-gitea:release/v1.22 Apr 25, 2024
@yp05327 yp05327 mentioned this pull request Apr 25, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants