aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-31 03:54:45 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-31 03:54:45 +0200
commit48c771f4a7c10e28bb1c14a59035df30169f5edf (patch)
treef63296fa501bfaf08c5a458afee464f355b4d750
parentc24fd7b7cc9178af7e1e02d4a0fde549533b56c6 (diff)
downloadgit-48c771f4a7c10e28bb1c14a59035df30169f5edf.tar.gz
git-48c771f4a7c10e28bb1c14a59035df30169f5edf.tar.xz
v241
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rwxr-xr-xgitweb.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitweb.cgi b/gitweb.cgi
index e58f246c4..47c458d88 100755
--- a/gitweb.cgi
+++ b/gitweb.cgi
@@ -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;
}
}