X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fsanity.rs;h=e905517253c0a364fe54b1e03de42d63063f5a44;hb=d10b47ef69a36590a04c76e8868093d251adfec6;hp=cae41286f0871168f482844e570fc78e25455e6d;hpb=ad76883ff99ef28fc650419640bdc91f7d521eae;p=rust.git diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs index cae41286f08..e905517253c 100644 --- a/src/bootstrap/sanity.rs +++ b/src/bootstrap/sanity.rs @@ -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"); }