Sfoglia il codice sorgente

Merge pull request #2122 from nanoant/patch/add-pre-receive-hook

Allow pre-receive hook customization
Unknwon 9 anni fa
parent
commit
fde9c69679
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      modules/git/hooks.go

+ 1 - 0
modules/git/hooks.go

@@ -27,6 +27,7 @@ var hookNames = []string{
 	"post-checkout",
 	"post-merge",
 	"pre-push",
+	"pre-receive",
 	// "update",
 	"post-receive",
 	"post-update",