diff options
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/plugin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/plugin.rs b/src/cli/plugin.rs index 68cf0282..32447d1b 100644 --- a/src/cli/plugin.rs +++ b/src/cli/plugin.rs @@ -849,7 +849,7 @@ fn git_checkout( } fn run_git<const N: usize>(cwd: Option<&Path>, args: [&str; N]) -> std::io::Result<()> { - let mut command = Command::new("git"); + let mut command = crate::noninteractive_process::command("git"); command.args(args); if let Some(cwd) = cwd { command.current_dir(cwd); @@ -865,7 +865,7 @@ fn run_git<const N: usize>(cwd: Option<&Path>, args: [&str; N]) -> std::io::Resu } fn git_output<const N: usize>(cwd: &Path, args: [&str; N]) -> std::io::Result<String> { - let output = Command::new("git") + let output = crate::noninteractive_process::command("git") .args(args) .current_dir(cwd) .stdin(Stdio::null()) |
