Commit 5b740fcf authored by Elan Ruusamäe's avatar Elan Ruusamäe Committed by Sean McGivern

remove no longer needed gitlab_init

parent e60a0ee7
......@@ -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'
......
......@@ -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'
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment