mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 07:34:26 +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