mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-04 14:54:00 +08:00

* use same process as in routers/repo/branch.go/deleteBranch * make sure default branch can not be deleted * remove IsDefaultBranch from UI process - it is worth its own pull * permissions