From: Miklos Vajna Date: Sat, 19 Dec 2009 14:25:59 GMT Subject: Re: [PATCH] Introduce the GIT_CONFIG_EXTRA environment variable Message-ID: <20091219142559.GF25474@genesis.frugalware.org> In-Reply-To: <20091219020947.GB10687@spearce.org> On Fri, Dec 18, 2009 at 06:09:47PM -0800, "Shawn O. Pearce" wrote: > What file does `git config --add` modify? Should we be able to > modify the GIT_CONFIG_EXTRA file? git config --add will still write .git/config (or $GIT_CONFIG) as before. At the moment there is no way to modify a GIT_CONFIG_EXTRA file using git-config. > What order is GIT_CONFIG_EXTRA applied in relative to other files > that git config would also have read? The config file from GIT_CONFIG_EXTRA is the last one that is read. Adding the above feature and documenting the later answer could be done in a second version of such a patch, but as far as I see it's no good doing so because then patch solves a non-exsiting problem. ;-)