Re: git appears to ignore GIT_CONFIG environment variable

2018-11-03 Thread Sirio Balmelli
Thank you very much, I appreciate the answer :) best, Sirio > On Nov 2, 2018, at 04:07, Junio C Hamano wrote: > > Sirio Balmelli 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

Re: git appears to ignore GIT_CONFIG environment variable

2018-11-01 Thread Junio C Hamano
Sirio Balmelli 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 appears to ignore GIT_CONFIG environment variable

2018-11-01 Thread Sirio Balmelli
It appears that git ignores the GIT_CONFIG environment variable, while git-config *does* consider it. I have written a short script that shows this in detail and reproduces, it is included below and also posted on github at