servo: Merge #5141 - Make submodule sync silent (and recursive) (from SimonSapin:silent-submodule-sync); r=Manishearth

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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 373a720dfdf7a5849b32c03865d96e047cdea647
This commit is contained in:
Simon Sapin 2015-03-04 05:51:44 -07:00
parent e9daaa31b5
commit a29ae9aa10

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(' ')