Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: git should not use a default user.email config value

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:58:25

Junio C Hamano [off-list ref] writes:
Jeff King [off-list ref] writes:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help