fix git submodule status check

This commit is contained in:
king6cong 2016-08-29 16:53:38 +08:00
parent 86dde9bbda
commit 9ce47e318a

View File

@ -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