Ver código fonte

fix merge

pull/30879/head
wxiaoguang 1 mês atrás
pai
commit
88b0a52e3d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      routers/private/hook_pre_receive.go

+ 1
- 1
routers/private/hook_pre_receive.go Ver arquivo

@@ -122,7 +122,7 @@ func HookPreReceive(ctx *gitea_context.PrivateContext) {
preReceiveBranch(ourCtx, oldCommitID, newCommitID, refFullName)
case refFullName.IsTag():
preReceiveTag(ourCtx, oldCommitID, newCommitID, refFullName)
case git.DefaultFeatures.SupportProcReceive && refFullName.IsFor():
case git.DefaultFeatures().SupportProcReceive && refFullName.IsFor():
preReceiveFor(ourCtx, oldCommitID, newCommitID, refFullName)
default:
ourCtx.AssertCanWriteCode()

Carregando…
Cancelar
Salvar