mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
diagnose win test error
This commit is contained in:
parent
c455f3e316
commit
4fa90bfc40
1 changed files with 7 additions and 1 deletions
|
|
@ -51,7 +51,13 @@ pub fn index_reset_at(repo_path: &str, path: &Path) -> bool {
|
|||
.output()
|
||||
};
|
||||
|
||||
output.is_ok()
|
||||
if let Ok(out) = output {
|
||||
dbg!(String::from_utf8(out.stderr.clone()).unwrap());
|
||||
String::from_utf8(out.stderr).unwrap()
|
||||
== "Updated 1 path from the index\n".to_string()
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
//------------------------------------
|
||||
//TODO: why is this broken with libgit2 ???
|
||||
|
|
|
|||
Loading…
Reference in a new issue