Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
v143
author
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 Aug 2005 18:23:24 +0000
(20:23 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 7 Aug 2005 18:23:24 +0000
(20:23 +0200)
gitweb.cgi
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ede5e10
)
diff --git
a/gitweb.cgi
b/gitweb.cgi
index 34dc9bc80d690581313938ad4904b6101ec12a14..b6fa5ec6711f7a92a26070d05c27ceaa3b66e8d0 100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-14,7
+14,7
@@
use CGI::Carp qw(fatalsToBrowser);
use Fcntl ':mode';
my $cgi = new CGI;
use Fcntl ':mode';
my $cgi = new CGI;
-my $version = "14
2
";
+my $version = "14
3
";
my $my_url = $cgi->url();
my $my_uri = $cgi->url(-absolute => 1);
my $rss_link = "";
my $my_url = $cgi->url();
my $my_uri = $cgi->url(-absolute => 1);
my $rss_link = "";
@@
-634,7
+634,8
@@
sub git_project_list {
$cgi->a({-href => "$my_uri?p=$proj{'path'};a=summary"}, "summary") .
" | " . $cgi->a({-href => "$my_uri?p=$proj{'path'};a=log"}, "log") .
" | " . $cgi->a({-href => "$my_uri?p=$proj{'path'};a=tree"}, "tree") .
$cgi->a({-href => "$my_uri?p=$proj{'path'};a=summary"}, "summary") .
" | " . $cgi->a({-href => "$my_uri?p=$proj{'path'};a=log"}, "log") .
" | " . $cgi->a({-href => "$my_uri?p=$proj{'path'};a=tree"}, "tree") .
- "</td>\n";
+ "</td>\n" .
+ "</tr>\n";
}
print "</table>\n" .
"<br/>\n" .
}
print "</table>\n" .
"<br/>\n" .
@@
-715,7
+716,7
@@
sub git_summary {
"<tr><td>owner</td><td>$owner</td></tr>\n" .
"<tr><td>last change</td><td>$cd{'rfc2822'}</td></tr>\n" .
"</table>\n" .
"<tr><td>owner</td><td>$owner</td></tr>\n" .
"<tr><td>last change</td><td>$cd{'rfc2822'}</td></tr>\n" .
"</table>\n" .
- "<
/div><br/
>\n";
+ "<
br/></div
>\n";
open my $fd, "-|", "$gitbin/git-rev-list --max-count=11 " . git_read_hash("$project/HEAD") || die_error(undef, "Open failed.");
my (@revlist) = map { chomp; $_ } <$fd>;
close $fd;
open my $fd, "-|", "$gitbin/git-rev-list --max-count=11 " . git_read_hash("$project/HEAD") || die_error(undef, "Open failed.");
my (@revlist) = map { chomp; $_ } <$fd>;
close $fd;
@@
-735,7
+736,7
@@
sub git_summary {
last;
}
}
last;
}
}
- print "<
br/
>\n";
+ print "<
div class=\"list\"><br/></div
>\n";
my $taglist = git_read_tags();
if (defined @$taglist) {
my $taglist = git_read_tags();
if (defined @$taglist) {
@@
-754,8
+755,8
@@
sub git_summary {
last;
}
}
last;
}
}
+ print "<div class=\"list\"><br/></div>\n";
}
}
- print "<br/>\n";
git_footer_html();
}
git_footer_html();
}
@@
-781,7
+782,7
@@
sub git_tags {
"</div>\n";
}
}
"</div>\n";
}
}
- print "<
br/
>\n";
+ print "<
div class=\"list\"><br/></div
>\n";
git_footer_html();
}
git_footer_html();
}