Only use GIT_CONFIG in "git config", not other programs
commitdc87183189b54441e315d35d48983d80ab085299
authorDaniel Barkalow <barkalow@iabervon.org>
Mon, 30 Jun 2008 07:37:47 +0000 (30 03:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2008 09:35:49 +0000 (1 02:35 -0700)
tree975e86756cc3739cdfb7ac3f93981b37a2a8f8ad
parent66037991d3fd2ac7e699c7bd21d939b9e397f6a4
Only use GIT_CONFIG in "git config", not other programs

For everything other than using "git config" to read or write a
git-style config file that isn't the current repo's config file,
GIT_CONFIG was actively detrimental. Rather than argue over which
programs are important enough to have work anyway, just fix all of
them at the root.

Also removes GIT_LOCAL_CONFIG, which would only be useful for programs
that do want to use global git-specific config, but not the repo's own
git-specific config, and want to use some other, presumably
git-specific config. Despite being documented, I can't find any sign that
it was ever used.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/RelNotes-1.6.0.txt
Documentation/git-config.txt
builtin-config.c
cache.h
config.c