]> sipb.mit.edu Git - ikiwiki.git/commit
make success and failreason objects carry an influences hash
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 7 Oct 2009 23:40:44 +0000 (19:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 7 Oct 2009 23:59:26 +0000 (19:59 -0400)
commitc72fda7d695142cc29ac986125234140f6414d97
tree179c34e7b570a7f0ce5480457135e054c828b379
parentd1061d0094febfc21957554655a8eff4663b00ca
make success and failreason objects carry an influences hash

The hash will be used used to record a set of pages that influenced the
result of a pagespec match.

The influences are merged together when boolean and/or are encountered
in a pagespec. That means using a non-short-circuiting OR operator. And
so I use & and | when translating pagespecs, since those bitwise operators
can be overloaded. ("and" and "or" cannot, apparently).
IkiWiki.pm
t/pagespec_match.t