Read configuration also from ~/.gitconfig
[git.git] / t / t1300-repo-config.sh
index 8260d57..ce36c50 100755 (executable)
@@ -254,8 +254,9 @@ nextsection.nonewline=wow2 for me
 version.1.2.3eX.alpha=beta
 EOF
 
+# "HOME=." is there to avoid reading ~/.gitconfig
 test_expect_success 'working --list' \
-       'git-repo-config --list > output && cmp output expect'
+       'HOME=. git-repo-config --list > output && cmp output expect'
 
 cat > expect << EOF
 beta.noindent sillyValue