Description
- Gitea version (or commit ref): 1.10.0
- Git version: Docker image
- Operating system: Docker image
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No (On try.gitea.io, deleted branches are not kept)
- Not relevant
- Log gist:
Description
Hello,
Following a Discord discussion, i create this issue about deleted branches. Sometimes i meet issues when i delete my develop
branch and repush an other branch also named develop
.
My global issue :
I explain my situation :
I work on master and develop, and sometimes i squash develop on master, delete develop and create it again from master.
I squashed and merged with gitea, deleted branch from UI.
In local, i created develop from master. And when i pushed it on gitea, i saw in branch overview that my develop branch kept the tag "merged #4"
When i want to show branches :
template: repo/branch/list:22:106: executing "repo/branch/list" at <.Commit.ID.String>: nil pointer evaluating *git.Commit.ID
@6543 advises me to create this issue to collect data and scenario about this problem. I think there is a "global" issue when you delete and recreate same naming branch.
I can not reproduce the issue on try.gitea.io, deleted branches are not kept... It is because of the public instance or the 1.11 version ?
Update will coming :)