summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2008-12-14 22:10:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-12-15 00:43:39 (GMT)
commit8befc50c49e8a271fd3cd7fb34258fe88d1dfcad (patch)
treeacbc3709da13aa2898a7a35fe24c3d45be6d8738 /t
parent390c3480b2bcdc5c254db1a81ff163d7f7061f40 (diff)
downloadgit-8befc50c49e8a271fd3cd7fb34258fe88d1dfcad.zip
git-8befc50c49e8a271fd3cd7fb34258fe88d1dfcad.tar.gz
git-8befc50c49e8a271fd3cd7fb34258fe88d1dfcad.tar.bz2
Get rid of the last remnants of GIT_CONFIG_LOCALv1.6.1-rc3
In dc871831(Only use GIT_CONFIG in "git config", not other programs), GIT_CONFIG_LOCAL was rested in peace, in favor of not reading /etc/gitconfig and $HOME/.gitconfig at all when GIT_CONFIG is set. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t5400-send-pack.sh2
-rw-r--r--t/test-lib.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index da69f08..b21317d 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -99,7 +99,7 @@ test_expect_success \
! test -f victim/.git/refs/heads/extra
'
-unset GIT_CONFIG GIT_CONFIG_LOCAL
+unset GIT_CONFIG
HOME=`pwd`/no-such-directory
export HOME ;# this way we force the victim/.git/config to be used.
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 8936173..22ed448 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -471,7 +471,6 @@ PATH=$TEST_DIRECTORY/..:$PATH
GIT_EXEC_PATH=$(pwd)/..
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
unset GIT_CONFIG
-unset GIT_CONFIG_LOCAL
GIT_CONFIG_NOSYSTEM=1
GIT_CONFIG_NOGLOBAL=1
export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOBAL