summaryrefslogtreecommitdiff
path: root/hooks/pre-receive
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-receive')
-rwxr-xr-xhooks/pre-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive
index 7e23974..1f8a9d5 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -3,7 +3,7 @@
# This file was placed here by GitLab. It makes sure that your pushed commits
# will be processed properly.
-refs = ARGF.read
+refs = $stdin.read
key_id = ENV['GL_ID']
repo_path = Dir.pwd