Why does it mean we do not have to register shallow if we have one?
[gitweb.git] / gitweb / gitweb.perl
index 75e3502fe8b67b015680a87723f8cae8d9d957e8..6ae7e80351d597d21f474e72083c83b93ea45bbf 100755 (executable)
@@ -2918,7 +2918,7 @@ sub git_tag {
        print "<div class=\"page_body\">";
        my $comment = $tag{'comment'};
        foreach my $line (@$comment) {
-               chomp($line);
+               chomp $line;
                print esc_html($line, -nbsp=>1) . "<br/>\n";
        }
        print "</div>\n";
@@ -2988,7 +2988,7 @@ sub git_blame2 {
                        }
                }
                my $data = $_;
-               chomp($data);
+               chomp $data;
                my $rev = substr($full_rev, 0, 8);
                my $author = $meta->{'author'};
                my %date = parse_date($meta->{'author-time'},