projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0e6b7
)
fix handling of links+content dependency
author
Joey Hess
<joey@gnu.kitenet.net>
Tue, 6 Oct 2009 08:45:57 +0000
(
04:45
-0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Tue, 6 Oct 2009 08:45:57 +0000
(
04:45
-0400)
Such a dependency is unlikely, but can happen.
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 7f311ddf90def48b7ec47e56f9a7f6c430cadc58..e863141070b802db6b2f824c65fe0ca9e8afe1e5 100644
(file)
--- 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;