author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 15 Feb 2007 10:43:56 +0000 (11:43 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Feb 2007 06:06:26 +0000 (22:06 -0800) | ||
commit | 8565d2d853d85f246faa9bcde91aba3415a24d54 | |
tree | 46771731e414d7a9f6d8ca34239fcaee832c2172 | tree | snapshot |
parent | 32043c9f8c60fc03b0b6a324c559d98094729323 | commit | diff |
Make tests independent of global config files
This was done by setting $HOME to somewhere bogus. A better method is
to reuse $GIT_CONFIG, which was invented for ignoring the global
config file explicitely.
Technically, setting GIT_CONFIG=.git/config could be wrong, but it
passes all the tests, and we can keep the tests that way.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This was done by setting $HOME to somewhere bogus. A better method is
to reuse $GIT_CONFIG, which was invented for ignoring the global
config file explicitely.
Technically, setting GIT_CONFIG=.git/config could be wrong, but it
passes all the tests, and we can keep the tests that way.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh | diff | blob | history |