mirror of
https://github.com/go-gitea/gitea
synced 2025-10-30 10:58:27 +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