mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
fix path quotation marks
This commit is contained in:
parent
edce2dec12
commit
16d0ae4b8f
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ pub fn index_reset(path: &Path) -> bool {
|
|||
|
||||
///
|
||||
pub fn index_reset_at(repo_path: &str, path: &Path) -> bool {
|
||||
let cmd = format!("git checkout {:?}", path);
|
||||
let cmd = format!("git checkout {}", path.to_str().unwrap());
|
||||
|
||||
let output = if cfg!(target_os = "windows") {
|
||||
Command::new("cmd")
|
||||
|
|
|
|||
Loading…
Reference in a new issue