[PATCH] git send-email: include [anything]-by: signatures
- From
- Michael S. Tsirkin <mst@redhat.com>
- Date
- Aug 26, 2013, 16:57 UTC
- Message-ID
- <20130826165747.GA30788@redhat.com>
Consider [anything]-by: a valid signature. This includes Tested-by: Acked-by: Reviewed-by: etc.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- git-send-email.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-send-email.perl b/git-send-email.perl index ecbf56f..bb9093b 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -1359,7 +1359,7 @@ foreach my $t (@files) { # Now parse the message body while(<$fh>) { $message .= $_; - if (/^(Signed-off-by|Cc): (.*)$/i) { + if (/^([A-Za-z-]*-by|Cc): (.*)$/i) { chomp; my ($what, $c) = ($1, $2); chomp $c;
-- MST