summaryrefslogtreecommitdiff
path: root/hooks/post-receive
diff options
context:
space:
mode:
authorJonathon Reinhart <Jonathon.Reinhart@gmail.com>2018-12-13 00:01:02 -0500
committerJonathon Reinhart <Jonathon.Reinhart@gmail.com>2018-12-13 22:34:15 -0500
commitaf705c3f8c21ab34ba7cde8777b1e29e35b26a4c (patch)
treec2543b8e11a481ab2d64fda3e9e098db21de222d /hooks/post-receive
parent30a06eca35d38ac91c1f2beadb2443f37d28476b (diff)
downloadgitlab-shell-af705c3f8c21ab34ba7cde8777b1e29e35b26a4c.tar.gz
Use 'push_options' everywhere instead of 'push_opts'
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