summaryrefslogtreecommitdiff
path: root/hooks/post-receive
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-10-03 19:15:14 +0300
committerValery Sizov <valery@gitlab.com>2016-10-05 11:42:25 +0300
commitc0b473418296764764cb716686cd870e7018b242 (patch)
tree2ef6c9418ef1960f782a002bd8f1513b36efda46 /hooks/post-receive
parent0b4fd0af16555b2bdc28f6b18781d72226c5d56c (diff)
downloadgitlab-shell-add_gl_id.tar.gz
added GL_IDadd_gl_id
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-xhooks/post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index b7bc85e..b84d0d1 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -11,7 +11,7 @@ require_relative '../lib/gitlab_custom_hook'
require_relative '../lib/gitlab_post_receive'
if GitlabPostReceive.new(repo_path, key_id, refs).exec &&
- GitlabCustomHook.new.post_receive(refs, repo_path)
+ GitlabCustomHook.new(key_id).post_receive(refs, repo_path)
exit 0
else
exit 1