Re: [PATCH] config: fix several access(NULL) calls
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jul 13, 2012, 08:48 UTC
- Message-ID
- <vpq1ukg82st.fsf@bauges.imag.fr>
- In-Reply-To
- <7vwr28agcq.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> But is it really true that we want to error out on missing HOME if > we have usable XDG stuff?
Anyone else have an opinion on this?
In short, the question is whether
export XDG_CONFIG_HOME=some-existing-dir unset HOME git config foo.baz boz
should die("$HOME is unset") or use the XDG config file.-- Matthieu Moy http://www-verimag.imag.fr/~moy/