]> i-scream Git - www.i-scream.org.git/blobdiff - cgi-bin/cvslog.cgi
Added option to show commits since a given date:
[www.i-scream.org.git] / cgi-bin / cvslog.cgi
index 565323444b6aa244a191250b80ed9ce1fc727961..c234d8f28a3efd3f075cdc9e9e3d17fb49b78ec1 100755 (executable)
@@ -22,6 +22,12 @@ elsif($period eq "date") {
     $heading = "i-scream CVS$moduleext commits on $date";
     $firstdate = "$date 00:00<$date 23:59"
 }
+elsif($period eq "since") {
+    my($date)=$query->param('date');
+    $date = `/bin/date \"+%Y/%m/%d\"` unless defined $date;
+    $heading = "i-scream CVS$moduleext commits since $date";
+    $firstdate = ">$date";
+}
 elsif($period eq "thisweek") {
     $firstdate = ">last Sunday";
     $heading = "i-scream CVS$moduleext commits this week";