diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 21:54:30 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 21:54:30 +0000 |
commit | 4f93b8e2b44a3d9e5455d3f369f6cad929faf899 (patch) | |
tree | 93e47cd5296556ac460024dfeaefc95f5c4cd96e /IkiWiki | |
parent | 72e8ace28d921bb533a617c4b4078d0fb532fe98 (diff) | |
download | ikiwiki-4f93b8e2b44a3d9e5455d3f369f6cad929faf899.tar ikiwiki-4f93b8e2b44a3d9e5455d3f369f6cad929faf899.tar.gz |
preserve ctimes across rebuilds
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index b3dfc364d..f397ff320 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -288,11 +288,11 @@ sub refresh () { #{{{ foreach my $file (@files) { my $page=pagename($file); if (! $oldpagemtime{$page}) { - debug("new page $page"); + debug("new page $page") unless exists $pagectime{$page}; push @add, $file; $links{$page}=[]; $pagesources{$page}=$file; - $pagectime{$page}=time; + $pagectime{$page}=time unless exists $pagectime{$page}; } } my @del; |