0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 05:32:34 +01:00
gitea/routers/web
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>
2021-12-08 19:08:16 +00:00
..
admin
dev
events
explore
feed
org fix 500 error while use a reserved name in org rename (#17878) 2021-12-02 10:43:43 +08:00
repo Improve checkBranchName (#17901) 2021-12-08 19:08:16 +00:00
user
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Support sorting for project board issuses (#17152) 2021-12-08 14:57:18 +08:00