Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00
forgejo/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 Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
explore Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
feed Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
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 Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
base.go Fix nil checking on typed interface (#17598) 2021-11-15 21:16:11 +08:00
goget.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
home.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Support sorting for project board issuses (#17152) 2021-12-08 14:57:18 +08:00