Can't delete refs/remote/origin/branch #1108

Closed
opened 2025-11-02 03:48:58 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @LanaYuan on GitHub (Sep 30, 2017).

  • Gitea version (or commit ref): 1.2.0+rc3
  • Git version: 2.14.1
  • Operating system: amd64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I think only the protected branch can't be deleted .
But I can't delete refs/remote/origin/branch, when the branch didn't be protected.
I tried at https://try.gitea.io, it can be deleted.
And I also tried at https://try.gitea.io , I protected the branch and then deleted refs/remote/origin/branch, the result is I deleted it successfully and the branch manage page got HTTP ERROR 500.

Screenshots

default

Originally created by @LanaYuan on GitHub (Sep 30, 2017). - Gitea version (or commit ref): 1.2.0+rc3 - Git version: 2.14.1 - Operating system: amd64 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description I think only the protected branch can't be deleted . But I can't delete refs/remote/origin/branch, when the branch didn't be protected. I tried at https://try.gitea.io, it can be deleted. And I also tried at https://try.gitea.io , I protected the branch and then deleted refs/remote/origin/branch, the result is I deleted it successfully and the branch manage page got HTTP ERROR 500. ## Screenshots ![default](https://user-images.githubusercontent.com/30920949/31044143-6e6209e0-a5fc-11e7-9c34-24bc8391a3c3.PNG)
GiteaMirror added the type/bug label 2025-11-02 03:48:58 -06:00
Author
Owner

@lafriks commented on GitHub (Oct 5, 2017):

Should be fixed with #2630

@lafriks commented on GitHub (Oct 5, 2017): Should be fixed with #2630
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1108