forked from mirror/gitea
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 |
||
---|---|---|
.. | ||
archiver | ||
files | ||
adopt_test.go | ||
adopt.go | ||
avatar_test.go | ||
avatar.go | ||
branch.go | ||
cache.go | ||
check.go | ||
fork_test.go | ||
fork.go | ||
hooks.go | ||
main_test.go | ||
push.go | ||
repository_test.go | ||
repository.go | ||
review_test.go | ||
review.go | ||
template.go | ||
transfer_test.go | ||
transfer.go |