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.
zeripath 9e6e1dc950
Improve checkBranchName (#17901)
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
..
activity.go Move unit into models/unit/ (#17576) 3 years ago
attachment.go Move attachment into models/repo/ (#17650) 3 years ago
blame.go Move user related model into models/user (#17781) 3 years ago
branch.go Improve checkBranchName (#17901) 3 years ago
commit.go Refactor various strings (#17784) 3 years ago
compare.go Improve checkBranchName (#17901) 3 years ago
download.go Download lfs in git and web workflow from minio/s3 directly (#16731) 3 years ago
editor.go Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
editor_test.go Decouple unit test code from business code (#17623) 3 years ago
http.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
http_test.go Fix http path bug (#16117) 3 years ago
issue.go Improve checkBranchName (#17901) 3 years ago
issue_content_history.go Move unit into models/unit/ (#17576) 3 years ago
issue_dependency.go Rename context.Query to context.Form (#16562) 3 years ago
issue_label.go Use a standalone struct name for Organization (#17632) 3 years ago
issue_label_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
issue_lock.go Refactor routers directory (#15800) 3 years ago
issue_stopwatch.go Multiple Escaping Improvements (#17551) 3 years ago
issue_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
issue_timetrack.go Refactor routers directory (#15800) 3 years ago
issue_watch.go Refactor routers directory (#15800) 3 years ago
lfs.go Move user related model into models/user (#17781) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
middlewares.go Move user related model into models/user (#17781) 3 years ago
migrate.go Move user related model into models/user (#17781) 3 years ago
milestone.go Multiple Escaping Improvements (#17551) 3 years ago
projects.go Support sorting for project board issuses (#17152) 3 years ago
projects_test.go Decouple unit test code from business code (#17623) 3 years ago
pull.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
pull_review.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
release.go Move user related model into models/user (#17781) 3 years ago
release_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
repo.go Move repo archiver to models/repo (#17913) 3 years ago
search.go Related refactors to ctx.FormX functions (#16567) 3 years ago
setting.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
setting_protected_branch.go Move accessmode into models/perm (#17828) 3 years ago
settings_test.go Move accessmode into models/perm (#17828) 3 years ago
tag.go Move accessmode into models/perm (#17828) 3 years ago
topic.go Related refactors to ctx.FormX functions (#16567) 3 years ago
view.go Move user related model into models/user (#17781) 3 years ago
webhook.go Move accessmode into models/perm (#17828) 3 years ago
wiki.go Fix the bug: no wiki page can be created if the repo didn't have any page yet. (#17894) 3 years ago
wiki_test.go Multiple Escaping Improvements (#17551) 3 years ago