gitweb: Remove redundant "tree" link
[gitweb.git] / git-send-email.perl
index a83c7e90948fc3fe1b1ac82335704d66d060edab..746c525079317491e35827f331922e17e5fbd089 100755 (executable)
@@ -510,7 +510,7 @@ sub send_message
                                        if ($2 eq $from) {
                                                next if ($suppress_from);
                                        }
-                                       else {
+                                       elsif ($1 eq 'From') {
                                                $author_not_sender = $2;
                                        }
                                        printf("(mbox) Adding cc: %s from line '%s'\n",