summaryrefslogtreecommitdiff
path: root/hooks/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-xhooks/post-receive4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 5098158..2b6538f 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -12,9 +12,9 @@ require_relative '../lib/gitlab_custom_hook'
require_relative '../lib/hooks_utils'
require_relative '../lib/gitlab_post_receive'
-push_opts = HooksUtils.get_push_options
+push_options = HooksUtils.get_push_options
-if GitlabPostReceive.new(gl_repository, repo_path, key_id, refs, push_opts).exec &&
+if GitlabPostReceive.new(gl_repository, repo_path, key_id, refs, push_options).exec &&
GitlabCustomHook.new(repo_path, key_id).post_receive(refs)
exit 0
else