Skip to content
Snippets Groups Projects
Commit 158b424f authored by Robert Speicher's avatar Robert Speicher
Browse files

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
No related branches found
No related tags found
1 merge request!128Use recursive lookup for git repositories in the bin/create-hooks script
Pipeline #
v5.0.3
- Use recursive lookup for git repositories in the bin/create-hooks script
v5.0.2
- Adds timeout option to push branches
 
Loading
Loading
5.0.2
5.0.3
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment