send-email: sanitize author when writing From line
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Jun 2013 12:49:26 +0000 (15:49 +0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2013 18:27:03 +0000 (11:27 -0700)
sender is now sanitized, but we didn't sanitize author when checking
whether From: line is needed in the message body.

As a result git started writing duplicate From: lines when author
matched sender and has utf8 characters.

Reported-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found