Re: git should not use a default user.email config value
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 13, 2013, 16:33 UTC
- Message-ID
- <7vsiydy2i1.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130813114635.GA16506@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> 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.), so having "repo:" prefix even if we only support the repository path mapping in the initial version is a good way forward.
Thanks.