summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 21:54:30 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 21:54:30 +0000
commit4f93b8e2b44a3d9e5455d3f369f6cad929faf899 (patch)
tree93e47cd5296556ac460024dfeaefc95f5c4cd96e /IkiWiki
parent72e8ace28d921bb533a617c4b4078d0fb532fe98 (diff)
preserve ctimes across rebuilds
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm4
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;