go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.24k stars 5.5k forks source link

Remove duplicate empty repo check in delete branch API #32569

Closed kemzeb closed 2 days ago

kemzeb commented 2 days ago

Found while working on #32433.

This branch will never be executed because we have would have already made the same check a couple lines above.