mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-01 00:08:21 +00:00
fee0e4dbea
Make Repository.GetDefaultBranch return the real branch name, instead of the ref name. Then there is no need to do TrimPrefix for repo.DefaultBranch