Skip to content

Commit 5bf6ba4

Browse files
Rollup merge of rust-lang#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.
2 parents 789fb9c + 6130fc8 commit 5bf6ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/bootstrap/bootstrap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,10 @@ def update_submodule(self, module, checked_out, recorded_submodules):
678678

679679
print("Updating submodule", module)
680680

681-
run(["git", "submodule", "-q", "sync", module],
681+
run(["git", "submodule", "-q", "sync", "--progress", module],
682682
cwd=self.rust_root, verbose=self.verbose)
683683
run(["git", "submodule", "update",
684-
"--init", "--recursive", module],
684+
"--init", "--recursive", "--progress", module],
685685
cwd=self.rust_root, verbose=self.verbose)
686686
run(["git", "reset", "-q", "--hard"],
687687
cwd=module_path, verbose=self.verbose)

0 commit comments

Comments
 (0)