mirror of https://github.com/go-gitea/gitea.git
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.DefaultBranchpull/20383/head^2
parent
57e0bf43eb
commit
fee0e4dbea
Loading…
Reference in New Issue