From: Joey Hess Date: Tue, 6 Oct 2009 22:41:09 +0000 (-0400) Subject: presence dependencies not needed X-Git-Tag: 3.20091017~27^2~92 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15fd89d64deaeeee921a02b240d5036bbd896f89;p=ikiwiki.git presence dependencies not needed Using just a link dependency is sufficient, since --- diff --git a/IkiWiki/Plugin/linkmap.pm b/IkiWiki/Plugin/linkmap.pm index d7ba68da9..b8b4cf40d 100644 --- a/IkiWiki/Plugin/linkmap.pm +++ b/IkiWiki/Plugin/linkmap.pm @@ -28,9 +28,8 @@ sub preprocess (@) { $params{pages}="*" unless defined $params{pages}; - # Needs to update whenever a relevant page is added, or removed, or - # its links change. - add_depends($params{page}, $params{pages}, presence => 1, links => 1); + # Needs to update whenever a relevant page's links change. + add_depends($params{page}, $params{pages}, links => 1); # Can't just return the linkmap here, since the htmlscrubber # scrubs out all tags (with good reason!)