diff options
author | Ben <benmaggacis+gitlab@gmail.com> | 2018-02-24 01:08:40 +0000 |
---|---|---|
committer | Ben <benmaggacis+gitlab@gmail.com> | 2018-02-24 01:08:40 +0000 |
commit | 8c49d4a6b3b053c647c1d42332439673189a4fb1 (patch) | |
tree | d96146b2c4278638f1d0ac11231982cf939ba27e | |
parent | bcc59f6a6a3a2a028f0ec87803ea61101b55262e (diff) | |
download | gitlab-shell-8c49d4a6b3b053c647c1d42332439673189a4fb1.tar.gz |
Don't delete GL_REPOSITORY
-rwxr-xr-x | hooks/post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index a668207..30f4be1 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -5,7 +5,7 @@ refs = $stdin.read key_id = ENV.delete('GL_ID') -gl_repository = ENV.delete('GL_REPOSITORY') +gl_repository = ENV['GL_REPOSITORY'] repo_path = Dir.pwd require_relative '../lib/gitlab_custom_hook' |