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/