about summary refs log tree commit diff
diff options
context:
space:
mode:
authorking6cong <king6cong@gmail.com>2016-08-29 16:53:38 +0800
committerking6cong <king6cong@gmail.com>2016-08-29 16:53:38 +0800
commit9ce47e318aa1b8ec9442d19e40b8d00c99b65239 (patch)
tree8b7ea27abbeddea5bf25a01c9f18580471531851
parent86dde9bbda92c02c61282b5df5d38338a798ef3b (diff)
downloadrust-9ce47e318aa1b8ec9442d19e40b8d00c99b65239.tar.gz
rust-9ce47e318aa1b8ec9442d19e40b8d00c99b65239.zip
fix git submodule status check
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index a487c95fec2..dbf29cda492 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -528,7 +528,7 @@ impl Build {
             let path = Path::new(line[1..].split(' ').skip(1).next().unwrap());
             let state = if line.starts_with('-') {
                 State::NotInitialized
-            } else if line.starts_with('*') {
+            } else if line.starts_with('+') {
                 State::OutOfSync
             } else if line.starts_with(' ') {
                 State::MaybeDirty