]> Lady’s Gitweb - Gitweb/commitdiff
v241
authorKay Sievers <redacted>
Wed, 31 Aug 2005 01:54:45 +0000 (03:54 +0200)
committerKay Sievers <redacted>
Wed, 31 Aug 2005 01:54:45 +0000 (03:54 +0200)
Signed-off-by: Kay Sievers <redacted>
gitweb.cgi

index e9a9a9ad4150dc6ef89b1ce01beff7747dc5b2cc3e67b5e57e82ca06f18abee4..e5dd082b7bd7742474c10704dc02b923db0c3e6f1378695982f5466eadc95917 100755 (executable)
@@ -488,7 +488,7 @@ sub git_read_commit {
        $co{'comment'} = \@commit_lines;
        foreach my $title (@commit_lines) {
                if ($title ne "") {
-                       $co{'title'} = chop_str($title, 80);
+                       $co{'title'} = chop_str($title, 80, 5);
                        # remove leading stuff of merges to make the interesting part visible
                        if (length($title) > 50) {
                                $title =~ s/^Automatic //;
@@ -506,7 +506,7 @@ sub git_read_commit {
                                        $title =~ s/\/pub\/scm//;
                                }
                        }
-                       $co{'title_short'} = chop_str($title, 50);
+                       $co{'title_short'} = chop_str($title, 50, 5);
                        last;
                }
        }
This page took 0.229651 seconds and 4 git commands to generate.