index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
git
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules/git')
-rw-r--r--
modules/git/hooks.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/hooks.go b/modules/git/hooks.go
index 300a1005..77c7cb5a 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",