From: Joey Hess Date: Tue, 6 Oct 2009 08:45:57 +0000 (-0400) Subject: fix handling of links+content dependency X-Git-Tag: 3.20091017~27^2~96 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/2494a23fdd911eb7e85f2ea66607b4e08d87e927?ds=inline;hp=-c fix handling of links+content dependency Such a dependency is unlikely, but can happen. --- 2494a23fdd911eb7e85f2ea66607b4e08d87e927 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;