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

Re: [PATCH] git-gui: Get rid of the last remnants of GIT_CONFIG_LOCAL

From
Shawn O. Pearce <spearce@spearce.org>
Date
Dec 17, 2008, 15:53 UTC
Message-ID
<20081217155309.GA32487@spearce.org>
In-Reply-To
<alpine.DEB.1.00.0812142311360.25197@racer>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 10 quoted lines
> 
> In dc871831(Only use GIT_CONFIG in "git config", not other programs),
> GIT_CONFIG_LOCAL was rested in peace, in favor of not reading
> /etc/gitconfig and $HOME/.gitconfig at all when GIT_CONFIG is set.
> 
> 	You might want to hold off on that, as git-gui is supposed to be 
> 	less tightly coupled to git.git than, say, git-svn.
> 
> 	The commit removing support for GIT_CONFIG_LOCAL is from Mon Jun 
> 	30 03:37:47 2008 -0400...

Nah, that's in Git 1.6.0. This block of code is only useful on Windows, where most people are probably running a more msysgit style system than some random mashup of Git and git-gui versions.

Plus, wasn't there just some discussion about how this warning is perhaps harmful to the user because it doesn't really help her to resolve the problem?

I applied it anyway. Its quite unlikely anyone runs git-gui on Windows with GIT_CONFIG_LOCAL in their environment.

-- 
Shawn.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 5 in “Get rid of the last remnants of GIT_CONFIG_LOCAL”
  1. Get rid of the last remnants of GIT_CONFIG_LOCALJohannes Schindelin, Dec 14, 2008
  2. git-gui: Get rid of the last remnants of GIT_CONFIG_LOCALJohannes Schindelin, Dec 14, 2008
  3. Shawn O. PearceDec 17, 2008
  4. Junio C HamanoDec 15, 2008
  5. Johannes SchindelinDec 15, 2008

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.