Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Trick to force setup of a specific configured E-Mail per repo

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:04

Jeff King [off-list ref] writes:
Just when I dare to think "somebody cannot possibly be relying on this
arcane behavior", I am proven wrong. :)
My thoughts, exactly.  This is the kind of thing that makes this
project uncomfortably "interesting"; we cannot make improvements
without risking breaking existing users.
Could we perhaps do this more cleanly with a new config
option? Like a "user.guessIdent" which defaults to true, but people can
set to false. And without that, we do not do any automagic at all; we
get the values from the GIT_COMMITTER_* environment or the
user.{name,email} config variables, or we die().
That sounds like an excellent and clean way to do this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help