Re: [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 25, 2012, 18:58 UTC
- Message-ID
- <7vobpcrstn.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120525184408.GA4740@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 7 quoted lines
>> So it is exactly "I do not want ~/.gitconfig, I want ~/.config/git", no? >> >> That is something distro should be able to decide. > > Except that there is nothing distro-specific about it. Do you really > want the config file to have a different name depending on whether one > is using Debian, Fedora,...
Not me personally. But distros want to do that, it's their choice.
> Besides, with my distro package maintainer hat on, I can tell you that > switching the config file to ~/.config/git and not reading > ~/.gitconfig would be a complete nonstarter.
Absolutely. So don't choose to deliberately introduce backward incompatibliity. Problem solved.
Why is it bad to keep using ~/.gitconfig in the first place? The UNIX convention to exclude names that begin with dot is not working for you?