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.
forgejo/services
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
..
agit Move user related model into models/user (#17781) 3 years ago
attachment Move user related model into models/user (#17781) 3 years ago
auth Move more model into models/user (#17826) 3 years ago
comments Move user related model into models/user (#17781) 3 years ago
cron Move repo archiver to models/repo (#17913) 3 years ago
externalaccount Move more model into models/user (#17826) 3 years ago
forms Improve install code to avoid low-level mistakes. (#17779) 3 years ago
gitdiff Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
issue Move accessmode into models/perm (#17828) 3 years ago
lfs Move accessmode into models/perm (#17828) 3 years ago
mailer allways set a message-id on mails (#17900) 3 years ago
migrations Add migrate from Codebase (#16768) 3 years ago
mirror Refactor various strings (#17784) 3 years ago
org Move user related model into models/user (#17781) 3 years ago
pull Refactor various strings (#17784) 3 years ago
release Move user related model into models/user (#17781) 3 years ago
repository Improve checkBranchName (#17901) 3 years ago
task Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
user Move user related model into models/user (#17781) 3 years ago
webhook Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
wiki Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago