Closed
Description
- Gitea version (or commit ref): a503947 9a0b0da latest docker image
- Git version:
- Operating system:
- 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
when git push origin :refs/heads/feature/<xxx>
(deleting branch), push fail
! [remote rejected] feature/<xxx> (pre-receive hook declined)
/data/gitea/log/hooks/pre-receive.log
[...io/gitea/cmd/hook.go:126 runHookPreReceive()] [F] retrieve protected branches information failed
seem only feature branch have this problem
develop branch work fine
guess related to branch name with/
rollback to image/version v1.1.1 will work
also change default branch and set protected branch is not work, even in v1.1.1, not sure is it same reason