We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68758c0 + d9e560c commit 9025fe9Copy full SHA for 9025fe9
src/bootstrap/src/lib.rs
@@ -552,11 +552,7 @@ impl Build {
552
// Look for `submodule.$name.path = $path`
553
// Sample output: `submodule.src/rust-installer.path src/tools/rust-installer`
554
let submodule = line.split_once(' ').unwrap().1;
555
- let path = Path::new(submodule);
556
- // Don't update the submodule unless it's already been cloned.
557
- if GitInfo::new(false, path).is_managed_git_subrepository() {
558
- self.config.update_submodule(submodule);
559
- }
+ self.update_existing_submodule(submodule);
560
}
561
562
0 commit comments