Auto merge of #57082 - matthiaskrgr:revert_56933, r=pietroalbini

x.py: fixup 6130fc884b, fix submodule handling

./x.py used to automatically check out the right commit when a submodule was outdated and ./x.py build was run
and submodules handling was enabled in config.toml (submodules = true).

But it threw an error:
[...]
failed to run: git submodule -q sync --progress src/tools/clippy

The commit removes the --progress from git submodule call.

Fixes #57080
This commit is contained in:
bors 2018-12-24 20:46:10 +00:00
commit f960f377fd

View File

@ -678,7 +678,7 @@ class RustBuild(object):
print("Updating submodule", module)
run(["git", "submodule", "-q", "sync", "--progress", module],
run(["git", "submodule", "-q", "sync", module],
cwd=self.rust_root, verbose=self.verbose)
run(["git", "submodule", "update",
"--init", "--recursive", "--progress", module],