From 2494a23fdd911eb7e85f2ea66607b4e08d87e927 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 6 Oct 2009 04:45:57 -0400 Subject: [PATCH] fix handling of links+content dependency Such a dependency is unlikely, but can happen. --- IkiWiki/Render.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 7f311ddf9..e86314107 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -570,7 +570,8 @@ sub render_dependent ($$$$$$$) { next if $file eq $f; my $page=pagename($file); if ($sub->($page, location => $p)) { - if ($depends{$p}{$d} & $IkiWiki::DEPEND_LINKS) { + if ($depends{$p}{$d} & $IkiWiki::DEPEND_LINKS && + ! $depends{$p}{$d} & $IkiWiki::DEPEND_CONTENT) { next unless $linkchangers->{lc($page)}; } $reason = $page;