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

[PATCH 0/2] Introduce ~/.gitconfig

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 8, 2006, 11:30 UTC
Message-ID
<Pine.LNX.4.63.0606081329200.11910@wbgn013.biozentrum.uni-wuerzburg.de>

These two patches introduce the long awaited global config. Thanks to Paksy for pushing and starting it.

The first patch only does the reading part, while the second introduces the --no-local flag to git-repo-config.

There are three subjects for discussion:
- The name. I personally prefer .gitconfig, since we talk about the repo
  config all the time. But I have no strong feelings there.
- The --no-local flag could be implemented more cleanly, but also less
  elegantly, by introducing git_config_set_multivar_in_file(). I hesitated
  to do that, because there would be even more places replicating the
  global / local path resolution.
- With this, repo-config does no longer merit its name. What do people think
  about making it a builtin named "git config"? (Of course, nothing hinders
  us to keep the synonymous "repo-config" indefinitely...)

Ciao, Dscho

Next: Sven Ekman
Message 1 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.