mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9e6e1dc950
The current implementation of checkBranchName is highly inefficient involving opening the repository, the listing all of the branch names checking them individually before then using using opened repo to get the tags. This PR avoids this by simply walking the references from show-ref instead of opening the repository (in the nogogit case). Signed-off-by: Andrew Thornton <art27@cantab.net> |
3 years ago | |
---|---|---|
.. | ||
archiver | 3 years ago | |
files | 3 years ago | |
adopt.go | 3 years ago | |
branch.go | 3 years ago | |
cache.go | 3 years ago | |
check.go | 3 years ago | |
fork.go | 3 years ago | |
fork_test.go | 3 years ago | |
generate.go | 3 years ago | |
hooks.go | 3 years ago | |
main_test.go | 3 years ago | |
push.go | 3 years ago | |
repository.go | 3 years ago | |
transfer.go | 3 years ago | |
transfer_test.go | 3 years ago |