mirror of
https://gitee.com/gitea/gitea
synced 2025-12-18 22:16:35 +08: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