Commit c3c50422 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3986309c
v5.0.3
- Use recursive lookup for git repositories in the bin/create-hooks script
v5.0.2
- Adds timeout option to push branches
......
......@@ -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)
......
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