summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c24fd7b)
raw | patch | inline | side by side (parent: c24fd7b)
author | Kay Sievers <kay.sievers@suse.de> | |
Wed, 31 Aug 2005 01:54:45 +0000 (03:54 +0200) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Wed, 31 Aug 2005 01:54:45 +0000 (03:54 +0200) |
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index e58f246c4e67796437624b5b87ea4e761d286e9d..47c458d88524e817d9d80cb601448c0c353d312b 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
$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 //;
$title =~ s/\/pub\/scm//;
}
}
- $co{'title_short'} = chop_str($title, 50);
+ $co{'title_short'} = chop_str($title, 50, 5);
last;
}
}