From: Mischa POSLAWSKY Date: Mon, 26 Mar 2012 19:48:44 +0000 (+0200) Subject: index: drop latest git commits X-Git-Tag: v1.5~39 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/ad9058af65b1fb3158f75191a9df022d30637c14 index: drop latest git commits Clutters the main page too much, and gitweb is linked from every page. --- diff --git a/index.plp b/index.plp index 1aaf0f6..904edd9 100644 --- a/index.plp +++ b/index.plp @@ -58,16 +58,3 @@ but you're free to use, print, alter, and redistribute under the AGPL license. -<: -if (open my $log, '-|', 'git log -20 --since=2\ week\ ago --pretty=%ai%x00%s%x00%h') { - print "

Recent updates

\n\n"; - print "
\n"; - while (readline $log) { - chomp; - my ($date, $subject, $commit) = split /\0/, $_; - $date =~ s{( .+)}{$1}; - printf '
%s
%s
'."\n", $date, $subject; - } - print "
\n\n"; -} -