[PR #2023] [MERGED] Fix displaying commits and files of PR created from now deleted fork #16184

Closed
opened 2025-11-02 12:04:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2023
Author: @lafriks
Created: 6/20/2017
Status: Merged
Merged: 6/22/2017
Merged by: @bkcsoft

Base: masterHead: fix_pr_display_deleted_fork


📝 Commits (1)

  • 63504bf Fix displaying commits and files of PR created from now deleted forked repository

📊 Changes

1 file changed (+14 additions, -6 deletions)

View changed files

📝 routers/repo/pull.go (+14 -6)

📄 Description

If PR was made from forked repository and later fork was deleted Gitea was failing with panic. Fixed displaying commits and changed files tabs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2023 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 6/20/2017 **Status:** ✅ Merged **Merged:** 6/22/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `fix_pr_display_deleted_fork` --- ### 📝 Commits (1) - [`63504bf`](https://github.com/go-gitea/gitea/commit/63504bf13229bd75892c27029ce253720125a237) Fix displaying commits and files of PR created from now deleted forked repository ### 📊 Changes **1 file changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `routers/repo/pull.go` (+14 -6) </details> ### 📄 Description If PR was made from forked repository and later fork was deleted Gitea was failing with panic. Fixed displaying commits and changed files tabs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:04:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16184