From: Jakub Narebski Date: Sat, 27 Jun 2009 00:19:45 GMT Subject: Re: [PATCHv6 7/8] gitweb: recognize 'trivial' acks Message-ID: <200906270219.46266.jnareb@gmail.com> In-Reply-To: <1245926587-25074-8-git-send-email-giuseppe.bilotta@gmail.com> On Thu, 25 Jun 2009, Giuseppe Bilotta wrote: > Sometimes patches are trivially acked rather than just acked, so > extend the signoff regexp to include this case. > > Signed-off-by: Giuseppe Bilotta This is straghtforward enough. Acked-by: Jakub Narebski > --- > gitweb/gitweb.perl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl > index 3e6786b..7ca115f 100755 > --- a/gitweb/gitweb.perl > +++ b/gitweb/gitweb.perl > @@ -3403,7 +3403,7 @@ sub git_print_log { > my $signoff = 0; > my $empty = 0; > foreach my $line (@$log) { > - if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i) { > + if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|(?:trivially[ \-])?acked[ \-]by[ :]|cc[ :])/i) { > $signoff = 1; > $empty = 0; > if (! $opts{'-remove_signoff'}) { > -- > 1.6.3.rc1.192.gdbfcb > > -- Jakub Narebski Poland