Web lists-archives.com

Re: git appears to ignore GIT_CONFIG environment variable




Thank you very much, I appreciate the answer :)

best,

Sirio

> On Nov 2, 2018, at 04:07, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> 
> Sirio Balmelli <sirio.bm@xxxxxxxxx> writes:
> 
>> It appears that git ignores the GIT_CONFIG environment variable,
>> while git-config *does* consider it.
> 
> Yup, that is exactly how it is designed and documented.  These
> dasys, with "git config" taking "--file" to work on any arbitrary
> filename, you do not necessarily need GIT_CONFIG enviornment.
> 

Attachment: signature.asc
Description: Message signed with OpenPGP