From b4ce7259a46ac6f464a101b77c0f312b970d8f6e Mon Sep 17 00:00:00 2001
From: DanConwayDev
Date: Fri, 3 May 2024 16:39:40 +0100
Subject: [PATCH] build: ignore git config in cargo
so that tests are not affected by settings.
sommerfield had a custom patch setting in their config which make some tests fail
---
config.toml | 4 +++-
test_utils/config.toml | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/config.toml b/config.toml
index 519f44f..63b23d5 100644
--- a/config.toml
+++ b/config.toml
@@ -1,2 +1,4 @@
[env]
-NGITTEST = true
\ No newline at end of file
+NGITTEST = true
+HOME =
+XDG_CONFIG_HOME =
\ No newline at end of file
diff --git a/test_utils/config.toml b/test_utils/config.toml
index 519f44f..63b23d5 100644
--- a/test_utils/config.toml
+++ b/test_utils/config.toml
@@ -1,2 +1,4 @@
[env]
-NGITTEST = true
\ No newline at end of file
+NGITTEST = true
+HOME =
+XDG_CONFIG_HOME =
\ No newline at end of file
--
libgit2 1.7.2