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.DefaultBranchtokarchuk/v1.18
parent
57e0bf43eb
commit
fee0e4dbea
Loading…
Reference in new issue