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/routers
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
..
api/v1 Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
common Update chi/middleware to chi/v5/middleware (#17888) 3 years ago
install Refactor install page (db type) (#17919) 3 years ago
private Move accessmode into models/perm (#17828) 3 years ago
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
web Improve checkBranchName (#17901) 3 years ago
init.go Move repo archiver to models/repo (#17913) 3 years ago