Use quiet_safe_system to silence submodule checkouts

This commit is contained in:
Jack Nagel 2014-12-06 20:57:23 -05:00
parent 5d811c519b
commit 04d287e8db

View File

@ -595,7 +595,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
def checkout_submodules(dst)
escaped_clone_path = @clone.to_s.gsub(/\//, '\/')
sub_cmd = "git checkout-index -a -f --prefix=#{dst}/${toplevel/#{escaped_clone_path}/}/$path/"
safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd
quiet_safe_system "git", "submodule", "foreach", "--recursive", sub_cmd
end
end