mirror of
https://github.com/go-gitea/gitea
synced 2025-11-06 06:18:12 +00:00
Make Repository.GetDefaultBranch return the real branch name, instead of the ref name. Then there is no need to do TrimPrefix for repo.DefaultBranch
5.0 KiB
5.0 KiB