t/test-lib: drop redundant unset of GIT_CONFIG
authorJeff King <peff@peff.net>
Thu, 20 Mar 2014 23:13:36 +0000 (19:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 21:11:09 +0000 (14:11 -0700)
This is already handled by the mass GIT_* unsetting added by
95a1d12 (tests: scrub environment of GIT_* variables,
2011-03-15).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh
index 1531c241c08f0fad1a8e0789dbed2675b0fe5e56..625f06e5e5080eb5ac9d34ee0526d7eccde3e9cc 100644 (file)
@@ -649,7 +649,6 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
        fi
 fi
 GIT_TEMPLATE_DIR="$GIT_BUILD_DIR"/templates/blt
-unset GIT_CONFIG
 GIT_CONFIG_NOSYSTEM=1
 GIT_ATTR_NOSYSTEM=1
 export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_ATTR_NOSYSTEM