Code

commit: suggest --amend --reset-author to fix commiter identity
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 12 Jan 2011 18:29:14 +0000 (19:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jan 2011 20:43:58 +0000 (12:43 -0800)
commit3f142468997f9d14d8051a96b2e9db265d41ac0d
treec925020fcedecabcde10a0a97dafd742ce8b79c7
parent54f4cd9e8c7992f70d16efac3c6fc0a18ac0b156
commit: suggest --amend --reset-author to fix commiter identity

Since the message advises to fix the configuration first, the
advantage of using this command is that it is cut-and-paste ready,
while using --author='...' requires the user to type his name and
email again.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c