mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 02:37:45 +01: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