diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-08-24 23:01:42 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-08-25 00:31:16 +0100 |
commit | 7227c2debfeef94b35f7d81f42900aa01820caa3 (patch) | |
tree | 8afce2b036659b0f03aa8822215658d7b7d0bf94 /IkiWiki/Render.pm | |
parent | 2cf26fd709efa802b93109935b4203590d549810 (diff) | |
download | ikiwiki-7227c2debfeef94b35f7d81f42900aa01820caa3.tar ikiwiki-7227c2debfeef94b35f7d81f42900aa01820caa3.tar.gz |
Use a hash to de-duplicate dependencies
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
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 : ()) { |