summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/git/hooks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/hooks.go b/modules/git/hooks.go
index 300a100532..77c7cb5a41 100644
--- a/modules/git/hooks.go
+++ b/modules/git/hooks.go
@@ -27,6 +27,7 @@ var hookNames = []string{
"post-checkout",
"post-merge",
"pre-push",
+ "pre-receive",
// "update",
"post-receive",
"post-update",