diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2016-11-16 02:05:25 +0200 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-12-01 11:40:11 +0000 |
commit | 5b740fcf2978decca31a459184b16531d7517e35 (patch) | |
tree | 1c6ec2c8c0f089de92ce441ccfd9c8eed472b585 /hooks | |
parent | e60a0ee7bb00962a5e1ee3b49c6686f86dd3ea60 (diff) | |
download | gitlab-shell-5b740fcf2978decca31a459184b16531d7517e35.tar.gz |
remove no longer needed gitlab_init
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/post-receive | 1 | ||||
-rwxr-xr-x | hooks/pre-receive | 1 | ||||
-rwxr-xr-x | hooks/update | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 16a6fa9..7877306 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -7,7 +7,6 @@ refs = $stdin.read key_id = ENV.delete('GL_ID') repo_path = Dir.pwd -require_relative '../lib/gitlab_init' require_relative '../lib/gitlab_custom_hook' require_relative '../lib/gitlab_post_receive' diff --git a/hooks/pre-receive b/hooks/pre-receive index 97b9669..1b16fd0 100755 --- a/hooks/pre-receive +++ b/hooks/pre-receive @@ -8,7 +8,6 @@ key_id = ENV.delete('GL_ID') protocol = ENV.delete('GL_PROTOCOL') repo_path = Dir.pwd -require_relative '../lib/gitlab_init' require_relative '../lib/gitlab_custom_hook' require_relative '../lib/gitlab_reference_counter' require_relative '../lib/gitlab_access' diff --git a/hooks/update b/hooks/update index e569446..4c2fc08 100755 --- a/hooks/update +++ b/hooks/update @@ -9,7 +9,6 @@ new_value = ARGV[2] repo_path = Dir.pwd key_id = ENV.delete('GL_ID') -require_relative '../lib/gitlab_init' require_relative '../lib/gitlab_custom_hook' if GitlabCustomHook.new(repo_path, key_id).update(ref_name, old_value, new_value) |