Re: [RFC] Possibility to choose ~/.config/git/config instead of ~/.gitconfig
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 25, 2012, 18:20 UTC
- Message-ID
- <7vwr40rukg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAE1pOi3qSEY=Dj-Fqj+=anULVmCdsm72_k+B0SpdGiCO3u7L9A@mail.gmail.com>
Hilco Wijbenga <hilco.wijbenga@gmail.com> writes:
>> 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.)
It is only worded awkwardly, I think. The above is merely trying to say that you do not place 'config' anywhere in the working tree; in other words, "repository" in the above refers to GIT_DIR, and the "root" means not inside refs/, objects/, or anywhere, just next to index, HEAD, etc.