We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Build::update_existing_submodule
1 parent d0985bb commit d9e560cCopy full SHA for d9e560c
src/bootstrap/src/lib.rs
@@ -545,11 +545,7 @@ impl Build {
545
// Look for `submodule.$name.path = $path`
546
// Sample output: `submodule.src/rust-installer.path src/tools/rust-installer`
547
let submodule = line.split_once(' ').unwrap().1;
548
- let path = Path::new(submodule);
549
- // Don't update the submodule unless it's already been cloned.
550
- if GitInfo::new(false, path).is_managed_git_subrepository() {
551
- self.config.update_submodule(submodule);
552
- }
+ self.update_existing_submodule(submodule);
553
}
554
555
0 commit comments