about summary refs log tree commit diff
path: root/src/bootstrap/sanity.rs
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-06-27 13:34:26 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-07-04 07:31:56 -0600
commit712bd0d841469f8ed42d555ed714fee06beb14fa (patch)
tree894ab5a94ca1851d87b5be7c0149d3e8add814e0 /src/bootstrap/sanity.rs
parent2cc5b084a0fdbd08ecc873be33bafd08d4faf273 (diff)
downloadrust-712bd0d841469f8ed42d555ed714fee06beb14fa.tar.gz
rust-712bd0d841469f8ed42d555ed714fee06beb14fa.zip
Remove src_is_git, instead call method on rust_info directly.
Diffstat (limited to 'src/bootstrap/sanity.rs')
-rw-r--r--src/bootstrap/sanity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs
index d6def25cfaa..433ac3dedfd 100644
--- a/src/bootstrap/sanity.rs
+++ b/src/bootstrap/sanity.rs
@@ -80,7 +80,7 @@ pub fn check(build: &mut Build) {
     let mut cmd_finder = Finder::new();
     // If we've got a git directory we're gona need git to update
     // submodules and learn about various other aspects.
-    if build.src_is_git {
+    if build.rust_info.is_git() {
         cmd_finder.must_have("git");
     }