allow suppressing of global and system config
authorJeff King <peff@peff.net>
Wed, 6 Feb 2008 10:11:18 +0000 (05:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Feb 2008 22:52:23 +0000 (14:52 -0800)
commitab88c36321df647e17d477f19591cf6ca95de7f0
tree8523c9bde61394afe1c658df8d5d54f642ac793e
parentb828fef678c21d017f18d2094bfdaac94e5fbf7a
allow suppressing of global and system config

The GIT_CONFIG_NOGLOBAL and GIT_CONFIG_NOSYSTEM environment
variables are magic undocumented switches that can be used
to ensure a totally clean environment. This is necessary for
running reliable tests, since those config files may contain
settings that change the outcome of tests.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c
cache.h
config.c