[PR #2707] [MERGED] Fix so that user can still fork his own repository to owned organizations (#2699) #16548

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2707
Author: @lafriks
Created: 10/15/2017
Status: Merged
Merged: 10/15/2017
Merged by: @lafriks

Base: release/v1.2Head: backport/fork_own_to_org


📝 Commits (2)

  • 58191c3 Fix so that user can still fork his own repository to owned organizations (#2699)
  • ce585ff Merge branch 'release/v1.2' into backport/fork_own_to_org

📊 Changes

8 files changed (+86 additions, -27 deletions)

View changed files

📝 integrations/pull_create_test.go (+1 -1)
📝 integrations/pull_merge_test.go (+2 -2)
📝 integrations/repo_fork_test.go (+28 -7)
📝 models/repo.go (+19 -0)
📝 modules/context/repo.go (+5 -0)
📝 routers/repo/pull.go (+20 -6)
📝 templates/repo/header.tmpl (+1 -1)
📝 templates/repo/pulls/fork.tmpl (+10 -10)

📄 Description

Backport #2699 to release/v1.2


🔄 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/2707 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 10/15/2017 **Status:** ✅ Merged **Merged:** 10/15/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `release/v1.2` ← **Head:** `backport/fork_own_to_org` --- ### 📝 Commits (2) - [`58191c3`](https://github.com/go-gitea/gitea/commit/58191c3a6e00d66abfdb6c3e2c1c494d6f491886) Fix so that user can still fork his own repository to owned organizations (#2699) - [`ce585ff`](https://github.com/go-gitea/gitea/commit/ce585ff74582ec3f9c972c112cc8aa5b4eff37dd) Merge branch 'release/v1.2' into backport/fork_own_to_org ### 📊 Changes **8 files changed** (+86 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `integrations/pull_create_test.go` (+1 -1) 📝 `integrations/pull_merge_test.go` (+2 -2) 📝 `integrations/repo_fork_test.go` (+28 -7) 📝 `models/repo.go` (+19 -0) 📝 `modules/context/repo.go` (+5 -0) 📝 `routers/repo/pull.go` (+20 -6) 📝 `templates/repo/header.tmpl` (+1 -1) 📝 `templates/repo/pulls/fork.tmpl` (+10 -10) </details> ### 📄 Description Backport #2699 to release/v1.2 --- <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:13:11 -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#16548