X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/c5617d721b904e77d3d80c8e1cf68ca5c9d36a08e1429bba74433cee33de7e36..3c8296019ffc1b5e0bcdb3321a7b2dd1aaeab92f47219a948c71eae79be5d542:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 6dcca8c..e0da960 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -4827,7 +4827,7 @@ HTML while ($data = <$fd>) { chomp $data; last if ($data =~ s/^\t//); # contents of line - if ($data =~ /^(\S+) (.*)$/) { + if ($data =~ /^(\S+)(?: (.*))?$/) { $meta->{$1} = $2; } } @@ -4839,7 +4839,9 @@ HTML if ($group_size) { $current_color = ($current_color + 1) % $num_colors; } - print "\n"; + my $tr_class = $rev_color[$current_color]; + $tr_class .= ' boundary' if (exists $meta->{'boundary'}); + print "\n"; if ($group_size) { print "