Re: [PATCHv5 2/4] Let core.excludesfile default to $XDG_CONFIG_HOME/git/ignore
- From
- nguyenhu@minatec.inpg.fr <nguyenhu@minatec.inpg.fr>
- Date
- Jun 5, 2012, 13:17 UTC
- Message-ID
- <20120605151743.Horde.U7dqenwdC4BPzgb3V6TSvjA@webmail.minatec.grenoble-inp.fr>
- In-Reply-To
- <vpqpq9fs3oi.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> a écrit :
Show 27 quoted lines
> Huynh Khoi Nguyen NGUYEN <Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr> > writes: > >> If core.excludesfile is not defined, its default value will be >> $XDG_CONFIG_HOME/git/ignore in order to follow XDG specification. If >> $XDG_CONFIG_HOME is either not set or emty, $HOME/.config will be >> used. > > It's not clear whether $HOME/.config will be used to replace > $XDG_CONFIG_HOME or $XDG_CONFIG_HOME/git/ignore. I'd say explicitely > $HOME/.config/git/ignore to avoid this. > >> --- a/Documentation/config.txt >> +++ b/Documentation/config.txt > > Likewise. > >> --- a/Documentation/gitignore.txt >> +++ b/Documentation/gitignore.txt > > Likewise. > > Otherwise, sounds good. > > -- > Matthieu Moy > http://www-verimag.imag.fr/~moy/
We will also do the same changes with core.attributesfile, in our next v6 version.