]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
trail: remove excess presence-dependencies
authorSimon McVittie <smcv@debian.org>
Wed, 2 Jan 2013 19:17:16 +0000 (19:17 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 2 Jan 2013 19:19:32 +0000 (19:19 +0000)
commit7029f98bc735efcec08213d51bdec2c6645d682d
tree236c4a94937fc25cb5dea6edab5fbf28a1869017
parent7b06a65221ae16bf447c591dba5712c1d9f00461
trail: remove excess presence-dependencies

Since trail members are explicitly rebuilt if the information used for
their prev/up/next boxes changes, they don't need another dependency
on the trail itself. (If the trail disappears, it will disappear from
the member's member_to_trails entry, causing a rebuild; so the add_depends
is redundant.)

Similarly, since trail members are explicitly rebuilt if their next
or previous item, or its title, changes, the presence dependencies on the
next and previous items are redundant.
IkiWiki/Plugin/trail.pm