aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-08-24 23:01:42 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-08-25 00:31:16 +0100
commit7227c2debfeef94b35f7d81f42900aa01820caa3 (patch)
tree8afce2b036659b0f03aa8822215658d7b7d0bf94 /IkiWiki
parent2cf26fd709efa802b93109935b4203590d549810 (diff)
downloadikiwiki-7227c2debfeef94b35f7d81f42900aa01820caa3.tar
ikiwiki-7227c2debfeef94b35f7d81f42900aa01820caa3.tar.gz
Use a hash to de-duplicate dependencies
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 08d484847..b9f1d7754 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -459,7 +459,7 @@ sub refresh () {
next if $rendered{$f};
my $p=pagename($f);
if (exists $depends{$p}) {
- foreach my $d (@{$depends{$p}}) {
+ foreach my $d (keys %{$depends{$p}}) {
# only consider internal files
# if the page explicitly depends on such files
foreach my $file (@changed, $d=~/internal\(/ ? @internal : ()) {