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

Re: [PATCH v2] Let core.excludesfile default to ~/.gitexcludes.

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Dec 30, 2009, 14:31 UTC
Message-ID
<vpqhbr8ttwv.fsf@bauges.imag.fr>
In-Reply-To
<20091230224135.6117@nanako3.lavabit.com>
Nanako Shiraishi <nanako3@lavabit.com> writes:
> Junio, could you tell us what happened to this thread?
I'm not Junio, but I can try ...

Setting a default for core.excludesfile implies that changing it later is hard. In particular, _if_ we chose one day to move from multiple $HOME/.gitsomething files to $HOME/something-else/multiple-files ($XDG_CONFIG_HOME and $HOME/.gitglobal/{config,excludes,...} have been suggested, as well as a $GIT_HOME variable), then the transition is made harder by having a default.

So, while I think having a default is good, chosing the default shouldn't be taken lightly.

I personally like the idea of a user config _directory_ with multiple files in it, but I'm not clear on exactly what it should be, how the transition plan would be, ...

So, I dropped the patch until we get closer to a consensus on what the default value should be.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Nanako ShiraishiNext: Junio C Hamano
Message 14 of 17 in “let core.excludesfile default to ~/.gitignore.”
  1. let core.excludesfile default to ~/.gitignore.Matthieu Moy, Nov 20, 2009
  2. Stefan NaeweNov 20, 2009
  3. David AguilarNov 20, 2009
  4. Let core.excludesfile default to ~/.gitexcludes.Matthieu Moy, Nov 21, 2009
  5. Let core.excludesfile default to ~/.gitexcludes.Matthieu Moy, Nov 26, 2009
  6. Michael J GruberNov 26, 2009
  7. Paolo BonziniNov 26, 2009
  8. Michael J GruberNov 26, 2009
  9. Bert WesargNov 26, 2009
  10. Michael J GruberNov 26, 2009
  11. David AguilarNov 26, 2009
  12. Junio C HamanoNov 26, 2009
  13. Nanako ShiraishiDec 30, 2009
  14. Matthieu MoyDec 30, 2009
  15. Junio C HamanoDec 30, 2009
  16. User-wide Git config directory (was Re: [PATCH v2] Let core.excludesfile default to ~/.gitexcludes.)Matthieu Moy, Jan 2, 2010
  17. Junio C HamanoNov 20, 2009

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.