Sfoglia il codice sorgente

fix merge

pull/30879/head
wxiaoguang 1 mese fa
parent
commit
88b0a52e3d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      routers/private/hook_pre_receive.go

+ 1
- 1
routers/private/hook_pre_receive.go Vedi File

@@ -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()

Loading…
Annulla
Salva