1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-30 10:58:27 +00:00
Files
gitea/modules/git/repo_branch.go
wxiaoguang fee0e4dbea Remove confusing TrimPrefix(... git.BranchPrefix) (#20369)
Make Repository.GetDefaultBranch return the real branch name, instead of the ref name. Then there is no need to do TrimPrefix for repo.DefaultBranch
2022-07-16 08:10:02 +08:00

5.0 KiB