1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-01 03:48:24 +00:00
Files
gitea/services/repository/adopt.go
yp05327 e94723f2de Fix incorrect default branch when adopt a repository (#30912)
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.
2024-05-09 08:44:26 +00:00

11 KiB