Replying to Avatar DanConwayDev

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

Avatar
DanConwayDev 1y ago

nostr:npub16r0tl8a39hhcrapa03559xahsjqj4s0y6t2n5gpdk64v06jtgekqdkz5pl does this work for you?

Reply to this note

Please Login to reply.

Discussion

Avatar
sommerfeld 1y ago

No, but this does:

nostr:nevent1qqsdatcr79940vgn56cg5nershfej7cukcr72f8nqvufexvwawaaflqprpmhxue69uhkummnw3ezuum0we3xjapwdphhxap0qgsdph4ln7cjmmup7s7hc62znwmcfqf2c8jd94f6yqkmd2k8af95vmqrqsqqqpj30qk90y

Thread collapsed