From 1ae00a56575842632dbbb8edf1053847f27b33bd Mon Sep 17 00:00:00 2001 From: Josh Spence Date: Wed, 9 Jul 2025 18:09:04 +1000 Subject: [PATCH] Unset environment variable after test --- tests/functional/fetchGit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/fetchGit.sh b/tests/functional/fetchGit.sh index 7ebab2ab7..ba08cef7a 100755 --- a/tests/functional/fetchGit.sh +++ b/tests/functional/fetchGit.sh @@ -326,3 +326,4 @@ export GIT_CONFIG_GLOBAL="$TEST_ROOT/gitconfig" git config --global core.autocrlf true new_narhash=$(nix eval --raw --impure --expr "(builtins.fetchGit { url = \"$repo\"; ref = \"master\"; }).narHash") [[ "$new_narhash" = "$narhash" ]] +unset GIT_CONFIG_GLOBAL