projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Read configuration also from ~/.gitconfig
[git.git]
/
t
/
t1300-repo-config.sh
diff --git
a/t/t1300-repo-config.sh
b/t/t1300-repo-config.sh
index
8260d57
..
ce36c50
100755
(executable)
--- a/
t/t1300-repo-config.sh
+++ b/
t/t1300-repo-config.sh
@@
-254,8
+254,9
@@
nextsection.nonewline=wow2 for me
version.1.2.3eX.alpha=beta
EOF
version.1.2.3eX.alpha=beta
EOF
+# "HOME=." is there to avoid reading ~/.gitconfig
test_expect_success 'working --list' \
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
cat > expect << EOF
beta.noindent sillyValue