diff options
author | Valery Sizov <valery@gitlab.com> | 2016-10-03 19:15:14 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-10-05 11:42:25 +0300 |
commit | c0b473418296764764cb716686cd870e7018b242 (patch) | |
tree | 2ef6c9418ef1960f782a002bd8f1513b36efda46 /hooks/pre-receive | |
parent | 0b4fd0af16555b2bdc28f6b18781d72226c5d56c (diff) | |
download | gitlab-shell-add_gl_id.tar.gz |
added GL_IDadd_gl_id
Diffstat (limited to 'hooks/pre-receive')
-rwxr-xr-x | hooks/pre-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive index 09fa42b..4d9a4e9 100755 --- a/hooks/pre-receive +++ b/hooks/pre-receive @@ -17,7 +17,7 @@ require_relative '../lib/gitlab_access' # other hand, we run GitlabPostReceive first because the push is already done # and we don't want to skip it if the custom hook fails. if GitlabAccess.new(repo_path, key_id, refs, protocol).exec && - GitlabCustomHook.new.pre_receive(refs, repo_path) && + GitlabCustomHook.new(key_id).pre_receive(refs, repo_path) && GitlabReferenceCounter.new(repo_path).increase exit 0 else |