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

Re: [PATCH 1/2] Add possibility to store configuration in ~/.config/git/config file

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 26, 2012, 08:53 UTC
Message-ID
<vpq62bjnx14.fsf@bauges.imag.fr>
In-Reply-To
<1337975239-17169-1-git-send-email-nguyenhu@ensibm.imag.fr>
NGUYEN Huynh Khoi Nguyen <nguyenhu@ensimag.imag.fr> writes:
> +			sprintf(config_path, "%s/.config/git/config", home);

It's not terribly important, but if we are to use something that looks like XDG, I'd rather have a real support for it. ~/.config/ is the default, but the spec http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html also define $XDG_CONFIG_HOME that may override the default and we may want to support $XDG_CONFIG_DIRS too.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: jaseem abidNext: Jeff King
Message 11 of 12 in “Add possibility to store configuration in ~/.config/git/config file”
  1. 1/2 Add possibility to store configuration in ~/.config/git/config fileNGUYEN Huynh Khoi Nguyen, May 25, 2012
  2. 2/2 Test File Name: t1306-second-config-file.shNGUYEN Huynh Khoi Nguyen, May 25, 2012
  3. Jeff KingMay 25, 2012
  4. Junio C HamanoMay 25, 2012
  5. Jeff KingMay 25, 2012
  6. Nguyen Thai Ngoc DuyMay 26, 2012
  7. Jeff KingMay 26, 2012
  8. David AguilarMay 28, 2012
  9. Matthieu MoyMay 26, 2012
  10. jaseem abidMay 25, 2012
  11. Matthieu MoyMay 26, 2012
  12. Jeff KingMay 26, 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.