mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Rollup merge of #56933 - clarcharr:xpy_progress, r=Mark-Simulacrum
Add --progress to git submodule commands in x.py This is a relatively new flag, but it means that git will indicate the progress of the update as it would with regular clones. This is especially helpful as some of the submodules are really big and it's difficult to tell if it's hanging or still updating.
This commit is contained in:
commit
660eca64af
@ -678,10 +678,10 @@ class RustBuild(object):
|
|||||||
|
|
||||||
print("Updating submodule", module)
|
print("Updating submodule", module)
|
||||||
|
|
||||||
run(["git", "submodule", "-q", "sync", module],
|
run(["git", "submodule", "-q", "sync", "--progress", module],
|
||||||
cwd=self.rust_root, verbose=self.verbose)
|
cwd=self.rust_root, verbose=self.verbose)
|
||||||
run(["git", "submodule", "update",
|
run(["git", "submodule", "update",
|
||||||
"--init", "--recursive", module],
|
"--init", "--recursive", "--progress", module],
|
||||||
cwd=self.rust_root, verbose=self.verbose)
|
cwd=self.rust_root, verbose=self.verbose)
|
||||||
run(["git", "reset", "-q", "--hard"],
|
run(["git", "reset", "-q", "--hard"],
|
||||||
cwd=module_path, verbose=self.verbose)
|
cwd=module_path, verbose=self.verbose)
|
||||||
|
Loading…
Reference in New Issue
Block a user