commit bcfb12b454b3e647ccbd742a00c31cfb204c088326ec71585eb99d456114b168 from: Thomas Adam date: Fri Aug 15 14:37:34 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 - a6c26ae8286dcd21d67009fe66067607037447461037af9555b465dadd5825d5 commit + bcfb12b454b3e647ccbd742a00c31cfb204c088326ec71585eb99d456114b168 blob - 78d67ef40070d1f6934c8bc1629ab911768ebf70e1ccff5c253363bd4a503b58 blob + 5e90af44d2b005573818b8955cc80914d8be5488593901bcfacee351536e13df --- 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"