summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-07-20 17:47:06 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-07-20 17:47:06 +0200
commitc1587190db9bb3bbc3bd87a6e95b430b51b55686 (patch)
tree6c8c328c91bb6fffe88967ed5f36d44dc852c898
parentbc815c5b48a78dfa9117c4b2d85472645364afb3 (diff)
downloadgitlab-shell-c1587190db9bb3bbc3bd87a6e95b430b51b55686.tar.gz
Remove spaceremove-env-set
-rwxr-xr-xhooks/pre-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive
index 93edbce..66cb97d 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -4,7 +4,7 @@
# will be processed properly.
refs = $stdin.read
-key_id = ENV.delete('GL_ID')
+key_id = ENV.delete('GL_ID')
protocol = ENV.delete('GL_PROTOCOL')
repo_path = Dir.pwd