git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git appears to ignore GIT_CONFIG environment variable

From
SBSirio Balmelli <sirio.bm@gmail.com>
Date
Nov 3, 2018, 17:58 UTC
Message-ID
<E62F9E2A-70F1-47A4-B30C-2C767102CDCC@gmail.com>
In-Reply-To
<xmqqpnvoqirp.fsf@gitster-ct.c.googlers.com>
Thank you very much, I appreciate the answer :)
best,
Sirio
Show 11 quoted lines
> On Nov 2, 2018, at 04:07, Junio C Hamano <gitster@pobox.com> wrote:
> 
> Sirio Balmelli <sirio.bm@gmail.com> writes:
> 
>> It appears that git ignores the GIT_CONFIG environment variable,
>> while git-config *does* consider it.
> 
> Yup, that is exactly how it is designed and documented.  These
> dasys, with "git config" taking "--file" to work on any arbitrary
> filename, you do not necessarily need GIT_CONFIG enviornment.
> 
Previous: Junio C Hamano
Message 3 of 3 in “git appears to ignore GIT_CONFIG environment variable”
  1. Sirio BalmelliNov 2, 2018
  2. Junio C HamanoNov 2, 2018
  3. Sirio BalmelliNov 3, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.