[PATCHv6 7/8] gitweb: recognize 'trivial' acks
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Jun 25, 2009, 10:43 UTC
- 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 <giuseppe.bilotta@gmail.com> --- 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