diff options
author | Unknwon <u@gogs.io> | 2015-12-07 19:31:16 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-07 19:31:16 -0500 |
commit | fde9c696794417e23b6e92039d5d14551f0ef0aa (patch) | |
tree | d37bffdbba32d7a62af24c78b26fd0ea61521290 | |
parent | 14080dd61d06a78c692182fe84f56b6c02b883e0 (diff) | |
parent | 3df5dcc1dcb4047ab90785d1296b27e15b9d0b90 (diff) |
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook
Allow pre-receive hook customization
-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", |