summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: edde373)
raw | patch | inline | side by side (parent: edde373)
author | Kay Sievers <kay.sievers@suse.de> | |
Wed, 7 Dec 2005 15:32:51 +0000 (16:32 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Wed, 7 Dec 2005 15:32:51 +0000 (16:32 +0100) |
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index 1f5a409bf1fefc3d3fcaab8a3b17c25899a42d28..1c93192fc35a1b2029a1cdf0ed80b2c7a84040d9 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
};
foreach my $title (@commit_lines) {
+ $title =~ s/^ //;
if ($title ne "") {
$co{'title'} = chop_str($title, 80, 5);
# remove leading stuff of merges to make the interesting part visible
# c39ae07f393806ccf406ef966e9a15afc43cc36a refs/tags/v2.6.11^{}
open my $fd, "$projectroot/$project/info/refs" or return;
while (my $line = <$fd>) {
+ chomp($line);
if ($line =~ m/^([0-9a-fA-F]{40})\t.*$type\/([^\^]+)/) {
if (defined $refs{$1}) {
$refs{$1} .= " / $2";
"\n";
foreach my $line (@$comment) {;
- print " $line\n";
+ print "$line\n";
}
print "---\n\n";