summaryrefslogtreecommitdiff
path: root/bin/create-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'bin/create-hooks')
-rwxr-xr-xbin/create-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/create-hooks b/bin/create-hooks
index d948d87..d4111dc 100755
--- a/bin/create-hooks
+++ b/bin/create-hooks
@@ -11,7 +11,7 @@ require File.join(ROOT_PATH, 'lib', 'gitlab_metrics')
repository_storage_paths = ARGV
repository_storage_paths.each do |repo_path|
- Dir["#{repo_path.chomp('/')}/*/*.git"].each do |repo|
+ Dir["#{repo_path.chomp('/')}/**/*.git"].each do |repo|
begin
GitlabMetrics.measure('command-create-hooks') do
GitlabProjects.create_hooks(repo)