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.DefaultBranchforgejo
parent
57e0bf43eb
commit
fee0e4dbea
Loading…
Reference in New Issue