From: Junio C Hamano Date: Mon, 25 Sep 2006 19:58:21 GMT Subject: Re: git send-email woes Message-ID: <7v7izrzpk2.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060925183221.GE2490@uranus.ravnborg.org> Sam Ravnborg writes: > The patches in quistion did not have a "Signed-off-by: tag so > that mail address has been from the author instead. > And this mail address was still invalid as per RFC2822. I do not think it takes Signed-off-by: as author in any case (and I do not think it should -- if it did so it is a bug). Maybe something like this? diff --git a/git-send-email.perl b/git-send-email.perl index 746c525..b4a34f4 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -431,6 +431,11 @@ sub send_message $gitversion =~ s/^.* //; } + my ($author_name) = ($from =~ /^(.*?)\s+