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

Re: [PATCH 0/2] Introduce ~/.gitconfig

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 8, 2006, 12:21 UTC
Message-ID
<Pine.LNX.4.63.0606081415380.26091@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<dbfc82860606080506y52dc2771sbf6c90e7246ca4c9@mail.gmail.com>
Hi,
On Thu, 8 Jun 2006, Nikolai Weibull wrote:
Show 9 quoted lines
> On 6/8/06, Sven Ekman <svekman@yahoo.se> wrote:
> > <Johannes.Schindelin@gmx.de> skrev:
> > 
> > > There are three subjects for discussion:
> > 
> > Have you considered making ~/.gitconfig a directory?
> > Maybe Git wants to store more data later.
> 
> I second that.

I don't. What's wrong with the simple approach of a single config file? You can use a single tool for all the configuration, and do not need to care about anything.

After all, it is about _configuration_, not data storing. That is what $GIT_DIR/objects is for.

> And it'd be nice if it was configurable through an environment variable, 
> e.g., GIT_USER_CONFIG_HOME.

<sarcasm ignore=if-possible> Let's see. AFAIK all programs I know (including cvs and vim, for one) have a fixed name. Hmm. Perhaps this is for a reason? Like, to reduce confusion?

Alternatively, we could introduce a config variable "core.globalConfig" to see where the global config is. </sarcasm>

Ciao, Dscho

Previous: Nikolai WeibullNext: Nikolai Weibull
Message 4 of 11 in “Introduce ~/.gitconfig”
  1. 0/2 Introduce ~/.gitconfigJohannes Schindelin, Jun 8, 2006
  2. SV: [PATCH 0/2] Introduce ~/.gitconfigSven Ekman, Jun 8, 2006
  3. Nikolai WeibullJun 8, 2006
  4. Johannes SchindelinJun 8, 2006
  5. Nikolai WeibullJun 8, 2006
  6. Johannes SchindelinJun 8, 2006
  7. Jon LoeligerJun 8, 2006
  8. Alex RiesenJun 8, 2006
  9. Johannes SchindelinJun 8, 2006
  10. Jakub NarebskiJun 8, 2006
  11. Johannes SchindelinJun 8, 2006

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.