]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/git.pm
* prettydate,ddate: Don't ignore time formats passed to displaytime
[ikiwiki.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,