summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-02-09 21:55:30 +1100
committerGitHub <noreply@github.com>2023-02-09 21:55:30 +1100
commitc713d19383f21b1a9bc87a38b3606c44cdd398b6 (patch)
treebf0647c730fdaedaebcf752b9a16854ac3aac20d
parent4f7324bad05cf35691dc20cfcc64982969d766b9 (diff)
parentb243f30f48e78d9124b4734531b4003d45f1a0f2 (diff)
Merge pull request #2417 from stefanhaller/make_integration_tests_more_robust
-rw-r--r--pkg/integration/components/runner.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/integration/components/runner.go b/pkg/integration/components/runner.go
index 964ad98a5..2b05d102e 100644
--- a/pkg/integration/components/runner.go
+++ b/pkg/integration/components/runner.go
@@ -165,6 +165,8 @@ func getLazygitCommand(test *IntegrationTest, paths Paths, rootDir string, sandb
cmdObj.AddEnvVars(fmt.Sprintf("KEY_PRESS_DELAY=%d", keyPressDelay))
}
+ cmdObj.AddEnvVars("GIT_CONFIG_GLOBAL=/dev/null")
+
return cmdObj.GetCmd(), nil
}