]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Rcs/git.pm
change rcs_recentchanges when to absolute, not relative, time
[git.ikiwiki.info.git] / IkiWiki / Rcs / git.pm
index 9640acfbe284ec476af79fc365c581b1a761ab26..f70582136569b270d57c27591e961a6f1216c142 100644 (file)
@@ -247,8 +247,6 @@ sub _parse_diff_tree ($@) { #{{{
                last;
        }
 
-       debug("No detail in diff-tree output") if !defined $ci{'details'};
-
        return \%ci;
 } #}}}
 
@@ -374,7 +372,7 @@ sub rcs_recentchanges ($) { #{{{
 
                my ($sha1, $when) = (
                        $ci->{'sha1'},
-                       time - $ci->{'author_epoch'}
+                       $ci->{'author_epoch'}
                );
 
                my (@pages, @messages);
@@ -407,7 +405,7 @@ sub rcs_recentchanges ($) { #{{{
                }
 
                push @rets, {
-                       id         => $sha1,
+                       rev        => $sha1,
                        user       => $user,
                        committype => $type,
                        when       => $when,