]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Use author date instead of commit date
authorTuomas Jormola <tj@solitudo.net>
Sun, 31 Oct 2010 17:53:06 +0000 (19:53 +0200)
committerJoey Hess <joey@kitenet.net>
Sun, 31 Oct 2010 20:06:25 +0000 (16:06 -0400)
Signed-off-by: Tuomas Jormola <tj@solitudo.net>
IkiWiki/Plugin/git.pm

index f5101d904012b8472c1cf77d143ee218f0e32f59..3fa29b22f78b6f47ea27b2f79950782b9ef03223 100644 (file)
@@ -688,7 +688,7 @@ sub findtimes ($$) {
        if (! keys %time_cache) {
                my $date;
                foreach my $line (run_or_die('git', 'log',
-                               '--pretty=format:%ct',
+                               '--pretty=format:%at',
                                '--name-only', '--relative')) {
                        if (! defined $date && $line =~ /^(\d+)$/) {
                                $date=$line;