From 9ce47e318aa1b8ec9442d19e40b8d00c99b65239 Mon Sep 17 00:00:00 2001 From: king6cong Date: Mon, 29 Aug 2016 16:53:38 +0800 Subject: [PATCH] fix git submodule status check --- src/bootstrap/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a487c95fec200..dbf29cda49212 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