Commit 158b424f authored by Robert Speicher's avatar Robert Speicher

Merge branch 'dz-fix-create-hooks' into 'master'

Use recursive lookup for git repositories in the bin/create-hooks script

Closes #82

See merge request !128
parents 3986309c c3c50422
v5.0.3
- Use recursive lookup for git repositories in the bin/create-hooks script
v5.0.2 v5.0.2
- Adds timeout option to push branches - Adds timeout option to push branches
......
...@@ -11,7 +11,7 @@ require File.join(ROOT_PATH, 'lib', 'gitlab_metrics') ...@@ -11,7 +11,7 @@ require File.join(ROOT_PATH, 'lib', 'gitlab_metrics')
repository_storage_paths = ARGV repository_storage_paths = ARGV
repository_storage_paths.each do |repo_path| repository_storage_paths.each do |repo_path|
Dir["#{repo_path.chomp('/')}/*/*.git"].each do |repo| Dir["#{repo_path.chomp('/')}/**/*.git"].each do |repo|
begin begin
GitlabMetrics.measure('command-create-hooks') do GitlabMetrics.measure('command-create-hooks') do
GitlabProjects.create_hooks(repo) GitlabProjects.create_hooks(repo)
......
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