diff options
author | James Lopez <james@jameslopez.es> | 2017-12-21 15:42:25 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-01-04 11:22:43 +0100 |
commit | bc46c822fc94cfa54a190cfb0e89afeae799f57a (patch) | |
tree | 404948d33cdeb5696de498e386ac5b0bc44ca6e3 /lib/tasks/gitlab/task_helpers.rb | |
parent | 7721e8dfca9d272376f58dcb03ff277aef0a9c31 (diff) | |
download | gitlab-ce-bc46c822fc94cfa54a190cfb0e89afeae799f57a.tar.gz |
remove max-depth flag so it works with subgroups
Diffstat (limited to 'lib/tasks/gitlab/task_helpers.rb')
-rw-r--r-- | lib/tasks/gitlab/task_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/task_helpers.rb b/lib/tasks/gitlab/task_helpers.rb index 6723662703c..c1182af1014 100644 --- a/lib/tasks/gitlab/task_helpers.rb +++ b/lib/tasks/gitlab/task_helpers.rb @@ -130,7 +130,7 @@ module Gitlab def all_repos Gitlab.config.repositories.storages.each_value do |repository_storage| - IO.popen(%W(find #{repository_storage['path']} -mindepth 2 -maxdepth 2 -type d -name *.git)) do |find| + IO.popen(%W(find #{repository_storage['path']} -mindepth 2 -type d -name *.git)) do |find| find.each_line do |path| yield path.chomp end |