commit 4584117646613992902c00956c6c02e504bbcae1 from: Thomas Adam date: Fri Aug 15 14:42:43 2025 UTC regress: git: don't load global/home configs When running git(1) commands as part of the test suite, disallow git(1) from loading either the global or home gitconfig file. This has the ability to mess with the test and how they're setup. Each test already sets its own config so this is the preferred option anyway. OK stsp@ commit - faf5eede996c1ac47863fc039c36bfd2e606b4e1 commit + 4584117646613992902c00956c6c02e504bbcae1 blob - bf8d3b70fb368cfdf5eb3373e5833c14371b84f5 blob + 728707b2ddad397a7e2bb0ed8f96a2b403bbb445 --- regress/cmdline/common.sh +++ regress/cmdline/common.sh @@ -20,6 +20,8 @@ export GIT_AUTHOR_NAME="Flan Hacker" export GIT_AUTHOR_EMAIL="flan_hacker@openbsd.org" export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" +export GIT_CONFIG_GLOBAL="/dev/null" +export GIT_CONFIG_SYSTEM="/dev/null" export GOT_AUTHOR="$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>" export GOT_AUTHOR_8="flan_hac" export GOT_AUTHOR_11="flan_hacker"