镜像自地址
https://github.com/go-gitea/gitea
已同步 2025-12-07 13:28:25 +00:00
Refactor modules/git global variables (#29376)
Move some global variables into a struct to improve maintainability
这个提交包含在:
@@ -183,7 +183,7 @@ func httpBase(ctx *context.Context) *serviceHandler {
|
||||
|
||||
if repoExist {
|
||||
// Because of special ref "refs/for" .. , need delay write permission check
|
||||
if git.SupportProcReceive {
|
||||
if git.DefaultFeatures.SupportProcReceive {
|
||||
accessMode = perm.AccessModeRead
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户