fix git submodule status check
This commit is contained in:
@@ -528,7 +528,7 @@ impl Build {
|
|||||||
let path = Path::new(line[1..].split(' ').skip(1).next().unwrap());
|
let path = Path::new(line[1..].split(' ').skip(1).next().unwrap());
|
||||||
let state = if line.starts_with('-') {
|
let state = if line.starts_with('-') {
|
||||||
State::NotInitialized
|
State::NotInitialized
|
||||||
} else if line.starts_with('*') {
|
} else if line.starts_with('+') {
|
||||||
State::OutOfSync
|
State::OutOfSync
|
||||||
} else if line.starts_with(' ') {
|
} else if line.starts_with(' ') {
|
||||||
State::MaybeDirty
|
State::MaybeDirty
|
||||||
|
|||||||
Reference in New Issue
Block a user