remove max-depth flag so it works with subgroups

This commit is contained in:
James Lopez 2017-12-21 15:42:25 +01:00
parent 7721e8dfca
commit bc46c822fc

View file

@ -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