We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20242d4 commit b26284bCopy full SHA for b26284b
1 file changed
src/git/git-env.ts
@@ -31,7 +31,7 @@ const buildGitEnv = (): NodeJS.ProcessEnv => {
31
NO_PROXY: process.env.NO_PROXY,
32
GIT_TERMINAL_PROMPT: "0",
33
GIT_CONFIG_NOSYSTEM: "1",
34
- GIT_CONFIG_GLOBAL: "/dev/null",
+ GIT_CONFIG_GLOBAL: process.platform === "win32" ? "NUL" : "/dev/null",
35
...(process.platform === "win32" ? {} : { GIT_ASKPASS: "/bin/false" }),
36
};
37
0 commit comments