summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-03 03:25:47 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-03 03:25:47 -0500
commit09187f83bc8e022df24de534861e4f6a6026b3f9 (patch)
tree43603ecfa1622995f0858bc8c0d52d84551a19fa /IkiWiki.pm
parent1f6591f0a61415777a662d979c5c142c7f4ad7cd (diff)
clear %pagestate in loadindex
This is to handle the case where loadindex is called multiple times in one run, as when aggregating.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 050d4e5b2..8172552cb 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -884,7 +884,7 @@ sub loadindex () { #{{{
%oldrenderedfiles=%pagectime=();
if (! $config{rebuild}) {
%pagesources=%pagemtime=%oldlinks=%links=%depends=
- %destsources=%renderedfiles=%pagecase=();
+ %destsources=%renderedfiles=%pagecase=%pagestate=();
}
open (my $in, "<", "$config{wikistatedir}/index") || return;
while (<$in>) {