diff options
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rwxr-xr-x | bin/create-hooks | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ +v5.0.3 + - Use recursive lookup for git repositories in the bin/create-hooks script + v5.0.2 - Adds timeout option to push branches @@ -1 +1 @@ -5.0.2 +5.0.3 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) |