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.