From: Junio C Hamano Date: Wed, 03 Feb 2016 08:01:21 GMT Subject: Re: [PATCH] Trick to force setup of a specific configured E-Mail per repo Message-ID: In-Reply-To: <20160203035648.GA20732@sigill.intra.peff.net> Jeff King 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.