Make submodule sync silent (and recursive).

This eliminates the

    Synchronizing submodule url for 'support/android-rs-glue'
    Synchronizing submodule url for 'tests/wpt/web-platform-tests'

messages that appeared for every `mach build` command.
This commit is contained in:
Simon Sapin 2015-03-04 13:43:51 +01:00
parent 9d58c086e7
commit b613519a52

View file

@ -202,7 +202,7 @@ class CommandBase(object):
if self.context.bootstrapped:
return
subprocess.check_call(["git", "submodule", "sync"])
subprocess.check_call(["git", "submodule", "--quiet", "sync", "--recursive"])
submodules = subprocess.check_output(["git", "submodule", "status"])
for line in submodules.split('\n'):
components = line.strip().split(' ')