Re: [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 25, 2012, 17:42 UTC
- Message-ID
- <20120525174237.GA4267@burratino>
- In-Reply-To
- <CAE1pOi0eY2=eNzuTUVGmHuvfGWvxoXSJUADWr0CfPpVe5ktxow@mail.gmail.com>
Hi Hilco,
Hilco Wijbenga wrote:
Show 7 quoted lines
> This is, of course, highly OS dependent. Ironically, I'd say we need a > setting in .gitconfig for it. :-) > > There is also /etc(/default|/sysconfig|)/git/config to consider > (perhaps for some settings that should be the same for everyone). > Better yet, it would be nice if at least some settings could be part > of the repository itself (whitespace handling e.g.).
The FILES section of git-config(1) might leave you happier. :)
Regarding $GIT_DIR/config, it says "The filename is of course relative to the repository root, not the working directory.". Is this out of date? (Cc-ing Peff and Duy.)
Jonathan