commit f4dfd849913b7ada5a3f441160a74efb8fc9978f 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 - a0923235a9fef33971f7e2428bcb156b02c85bec commit + f4dfd849913b7ada5a3f441160a74efb8fc9978f blob - b17caad2195bf8f03071162075d2c331a52f4894 blob + b83aa065954a99c9ffff4d6741d3a4404911c50a --- 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"