./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:
Matthias Krüger 2018-12-24 20:19:49 +01:00
parent 50f3d6eccb
commit 49eb1e5419
1 changed files with 1 additions and 1 deletions

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],