]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/sanity.rs
Rollup merge of #102871 - notriddle:notriddle/trait-impl-anchor, r=GuillaumeGomez
[rust.git] / src / bootstrap / sanity.rs
index cae41286f0871168f482844e570fc78e25455e6d..e905517253c0a364fe54b1e03de42d63063f5a44 100644 (file)
@@ -74,7 +74,7 @@ pub fn check(build: &mut Build) {
     let mut cmd_finder = Finder::new();
     // If we've got a git directory we're gonna need git to update
     // submodules and learn about various other aspects.
-    if build.rust_info.is_git() {
+    if build.rust_info.is_managed_git_subrepository() {
         cmd_finder.must_have("git");
     }