summaryrefslogtreecommitdiff
path: root/lib/hooks_utils.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-10-14 16:00:48 +0100
committerNick Thomas <nick@gitlab.com>2019-10-15 07:44:13 +0100
commit18096b5440e0818605add32538751c6be38e8343 (patch)
treeb4aebac9d7f752156ee4ec3d44ee990021a1b295 /lib/hooks_utils.rb
parent8db304b4919519bca60a5b18ffe9b88dcde845af (diff)
downloadgitlab-shell-18096b5440e0818605add32538751c6be38e8343.tar.gz
Remove dead Ruby code
Diffstat (limited to 'lib/hooks_utils.rb')
-rw-r--r--lib/hooks_utils.rb15
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