diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-10-16 03:15:34 +0000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-10-16 03:15:34 +0000 |
commit | 89bd72d11786f38683fb341a5bd61c28ef3a1ee7 (patch) | |
tree | f3264b8693724fa935c5ca4ae30003fed5e89fff /lib/hooks_utils.rb | |
parent | c88d80fe74a27f6668d1aaa6db0abc6d2cf693e1 (diff) | |
parent | 8cf3f4c7c66580e234d3c2de9c23669cd49b7b5a (diff) | |
download | gitlab-shell-89bd72d11786f38683fb341a5bd61c28ef3a1ee7.tar.gz |
Merge branch '173-remove-unneeded-binaries' into 'master'
Remove dead Ruby code and unused binaries
See merge request gitlab-org/gitlab-shell!346
Diffstat (limited to 'lib/hooks_utils.rb')
-rw-r--r-- | lib/hooks_utils.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/hooks_utils.rb b/lib/hooks_utils.rb deleted file mode 100644 index b11317c..0000000 --- a/lib/hooks_utils.rb +++ /dev/null @@ -1,15 +0,0 @@ -module HooksUtils - module_function - - # Gets an array of Git push options from the environment - def get_push_options - count = ENV['GIT_PUSH_OPTION_COUNT'].to_i - result = [] - - count.times do |i| - result.push(ENV["GIT_PUSH_OPTION_#{i}"]) - end - - result - end -end |