Skip to content

Commit 192f916

Browse files
committed
Clarify comment about where we run git from
1 parent 93f2140 commit 192f916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gix-path/src/env/git/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ fn git_cmd(executable: PathBuf) -> Command {
115115
const CREATE_NO_WINDOW: u32 = 0x08000000;
116116
cmd.creation_flags(CREATE_NO_WINDOW);
117117
}
118-
// We will try to run `git` from a location fairly high in the filesystem, in the hope that it
119-
// may help if we are deeply nested, on network store, or in a directory that has been deleted.
118+
// We will try to run `git` from a location fairly high in the filesystem, in the hope it may
119+
// be faster if we are deeply nested, on a slow disk, or in a directory that has been deleted.
120120
let cwd = if cfg!(windows) {
121121
// We try the Windows directory (usually `C:\Windows`) first. It is given by `SystemRoot`,
122122
// except in rare cases where our own parent has not passed down that environment variable.

0 commit comments

Comments
 (0)