projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6591f
)
clear %pagestate in loadindex
author
Joey Hess
<joey@kodama.kitenet.net>
Sun, 3 Feb 2008 08:25:47 +0000
(
03:25
-0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sun, 3 Feb 2008 08:25:47 +0000
(
03:25
-0500)
This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 050d4e5b25af59e343907f3b992d212fc98c1e4d..8172552cbe147d830d51695f5c1a2149a8274b2d 100644
(file)
--- 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>) {