[PR #2630] [MERGED] Fix deletion of unprotected branches #16513

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2630
Author: @daviian
Created: 9/30/2017
Status: Merged
Merged: 10/2/2017
Merged by: @lafriks

Base: release/v1.2Head: bugfix/protected-branch


📝 Commits (5)

  • e003e0b fix deletion of unprotected branches
  • 0b1082d fmt fix
  • 138fe4d changed internal protected branch api
  • 7b2b332 fix lint error
  • 05ebf7c Merge branch 'release/v1.2' into bugfix/protected-branch

📊 Changes

4 files changed (+12 additions, -12 deletions)

View changed files

📝 cmd/hook.go (+1 -1)
📝 integrations/internal_test.go (+5 -5)
📝 models/branches.go (+5 -0)
📝 routers/private/branch.go (+1 -6)

📄 Description

Targets #2629

PR only targets release v1.2 as it is already fixed on master


🔄 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/2630 **Author:** [@daviian](https://github.com/daviian) **Created:** 9/30/2017 **Status:** ✅ Merged **Merged:** 10/2/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `release/v1.2` ← **Head:** `bugfix/protected-branch` --- ### 📝 Commits (5) - [`e003e0b`](https://github.com/go-gitea/gitea/commit/e003e0bf25dea60975ecb121262081296dd6a8ce) fix deletion of unprotected branches - [`0b1082d`](https://github.com/go-gitea/gitea/commit/0b1082d5ada37bfec07aed96e3360cabb9bafca6) fmt fix - [`138fe4d`](https://github.com/go-gitea/gitea/commit/138fe4de2fcd891c8ec3d667c9e2f793fa6ff48a) changed internal protected branch api - [`7b2b332`](https://github.com/go-gitea/gitea/commit/7b2b332977cd018d2abb36b7c2deaefea8aa0fd4) fix lint error - [`05ebf7c`](https://github.com/go-gitea/gitea/commit/05ebf7ccb724123d99e00dafc738d53c5a38e710) Merge branch 'release/v1.2' into bugfix/protected-branch ### 📊 Changes **4 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `cmd/hook.go` (+1 -1) 📝 `integrations/internal_test.go` (+5 -5) 📝 `models/branches.go` (+5 -0) 📝 `routers/private/branch.go` (+1 -6) </details> ### 📄 Description Targets #2629 PR only targets release v1.2 as it is already fixed on master --- <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:12:22 -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#16513