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

Re: [RFC] Possibility to have a per-user config directory

From
Victor Engmark <victor.engmark@gmail.com>
Date
May 30, 2012, 11:49 UTC
Message-ID
<CAA5Ydx9u_nckv8MHXLhKR2JwCgptJq81vXpaHsA1Hqvb4Enuqg@mail.gmail.com>
In-Reply-To
<20120530015035.Horde.XJPMC3wdC4BPxWDLkXMByVA@webmail.minatec.grenoble-inp.fr>
On Wed, May 30, 2012 at 1:50 AM,  <nguyenhu@minatec.inpg.fr> wrote:
Show 5 quoted lines
> Patch for writing:
> Git would write its configuration in $XDG_CONFIG_HOME/git/config file if:
> - this file exists,
> - and ~/.gitconfig file doesn't.
> Otherwise git would write its configuration in ~/.gitconfig as usual.
Minor suggestion: Write to $XDG_CONFIG_HOME/git/config if:
- $XDG_CONFIG_HOME/git exists (and therefore is planned for use even
if there is no config file within)
- [etc. as before]

Cheers, Victor

Previous: nguyenhu@minatec.inpg.fr
Message 2 of 2 in “[RFC] Possibility to have a per-user config directory”
  1. nguyenhu@minatec.inpg.frMay 29, 2012
  2. Victor EngmarkMay 30, 2012

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.