From: Giuseppe Bilotta Date: Thu, 25 Jun 2009 10:43:06 GMT Subject: [PATCHv6 7/8] gitweb: recognize 'trivial' acks Message-ID: <1245926587-25074-8-git-send-email-giuseppe.bilotta@gmail.com> In-Reply-To: <1245926587-25074-7-git-send-email-giuseppe.bilotta@gmail.com> Sometimes patches are trivially acked rather than just acked, so extend the signoff regexp to include this case. Signed-off-by: Giuseppe Bilotta --- 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