-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
- Gitea version (or commit ref): 1.4.0 (reproducible on https://try.gitea.io)
- Git version: 2.19.1
- Operating system: SLES 12
- 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 cannot recreate a deleted branch with the same name in Gitea.
I get error page 500.
- Create a branch from Gitea.
- Delete the branch from Gitea.
- Re-create the branch from Gitea.
Log :
2019/04/02 14:50:38 [...uters/repo/branch.go:235 CreateBranch()] [E] CreateNewBranch: CreateNewBranch: git checkout -b 2.0 1.0: exit status 128 - fatal: A branch named '2.0' already exists.
It seems gitea keeps a cache of the repo.