diff --git a/gix-path/src/env/git/mod.rs b/gix-path/src/env/git/mod.rs index 7a82691c90d..5896a27e0da 100644 --- a/gix-path/src/env/git/mod.rs +++ b/gix-path/src/env/git/mod.rs @@ -1,4 +1,3 @@ -use std::env; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; @@ -112,6 +111,7 @@ fn git_cmd(executable: PathBuf) -> Command { #[cfg(windows)] { + use std::env; use std::os::windows::process::CommandExt; const CREATE_NO_WINDOW: u32 = 0x08000000; cmd.creation_flags(CREATE_NO_WINDOW);