We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd95953 + 8fa5e3a commit ec2dad7Copy full SHA for ec2dad7
src/bootstrap/src/utils/tests/git.rs
@@ -129,6 +129,9 @@ impl GitCtx {
129
130
fn git_cmd(&self) -> Command {
131
let mut cmd = Command::new("git");
132
+ cmd.env("GIT_CONFIG_NOSYSTEM", "1");
133
+ cmd.env("GIT_CONFIG_SYSTEM", "/tmp/nonexistent");
134
+ cmd.env("GIT_CONFIG_GLOBAL", "/tmp/nonexistent");
135
cmd.current_dir(&self.dir);
136
cmd
137
}
0 commit comments