Re: git should not use a default user.email config value
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 14, 2013, 07:28 UTC
- Message-ID
- <vpqsiycn33b.fsf@anie.imag.fr>
- In-Reply-To
- <7vsiydy2i1.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> Jeff King <peff@peff.net> writes: > >> I guess we could do something like: >> >> [include "repo:...your regex here..."] >> path = .gitconfig-only-for-some-repos >> [include "env:USE_MY_MAGIC_CONFIG"] >> path = .gitconfig-only-when-magic-env-set > > I am not sure if "env" is very useful, but there certainly are other > possibilities (e.g. apply this only on this host, only for members > of this UNIX group, etc.)
I have already wished I had "git version >= XXX" here (but that's tricky to implement).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/