mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-31 12:02:58 +00:00
Fix #30521 we should sync branches first, then detect default branch, or `git_model.FindBranchNames` will always return empty list, and the detection will be wrong.