X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e707c2080400363cd38ac94272146f2c7769f458..84155e2ebd54bd2dd07d1a920894496db75707c1:/index.plp diff --git a/index.plp b/index.plp index c2e939b..468e927 100644 --- a/index.plp +++ b/index.plp @@ -15,6 +15,7 @@ Html({ ' title="RSS feed of repository updates"', ' href="http://git.shiar.nl/sheet.git/rss">', ], + data => ['UPDATE'], }); :> @@ -28,8 +29,7 @@ Originally created by Mischa Poslawsky, but you're free to use, print, alter, and redistribute under the AGPL license.

<: -my @format = ('--date=short', "--pretty=%ad (%ar)\t%s"); -if (open my $log, '-|', git => 'log', -1, @format) {{ +if (open my $log, '<', 'UPDATE') {{ my $line = readline $log; $line or next; # explicitly ignore empty input EscapeHTML $line;