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

git appears to ignore GIT_CONFIG environment variable

2018-11-01 Thread Sirio Balmelli
# this script demonstrates that the GIT_CONFIG is used by 'git-config' # but *not* by 'git' itself. # 2018 Sirio Balmelli cleanup() { rm -rf ~/.gitconfig git-env-check } fail() { echo "$*" >&2 cleanup exit 1 } # don't break the us