From: David Aguilar Date: Tue, 05 Jan 2010 20:22:00 GMT Subject: Re: edit Author/Date metadata as part of 'git commit' $EDITOR invocation? Message-ID: <20100105202159.GA2657@gmail.com> In-Reply-To: On Mon, Jan 04, 2010 at 05:52:42PM -0500, Sverre Rabbelier wrote: > Heya, > > On Mon, Jan 4, 2010 at 16:08, Adam Megacz wrote: > > Perhaps a preference (off by default) demanding that they be set > > explicitly when "git commit -m" is used? > > Heh, what use would that be? On a different/new box you would have > neither that setting nor the email set, so that doens't solve the > problem methinks :P. > > -- > Cheers, > > Sverre Rabbelier Workaround: If you use "git commit -s" it includes a Signed-off-by line which includes your name and email. Seeing "Signed-off-by: root " would give you a hint that you should abort the commit, set the vars, and try again. -- David