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

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

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jun 8, 2006, 14:49 UTC
Message-ID
<81b0412b0606080749k25a306cetf44a50836998ae09@mail.gmail.com>
In-Reply-To
<1149775348.23938.236.camel@cashmere.sps.mot.com>
On 6/8/06, Jon Loeliger <jdl@freescale.com> wrote:
> --repo   into $GIT_DIR/.gitconfig  <- current default, right?
> --home   into ~/.gitconfig
> --site   into /etc/gitconfig
> --share  into /usr/share/git/config

BTW, if we go that far, maybe it makes more sense to implement a way to include files other config files? So repo-level config can (maybe implicitely) have an "include ~/.gitconfig" which in turn can "include /etc/gitconfig".

We could even do like C-preprocessor does: relative pathnames can be searched in a defined set of directores.

That's all overengineered, probably. I never needed .git/config, except for switching exec-bit (which I'd like to have on per-site basis, to be fair).

Previous: Jon LoeligerNext: Johannes Schindelin
Message 8 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.