]> sipb.mit.edu Git - ikiwiki.git/commit
don't use pagespec_match_list
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 25 Aug 2009 21:46:15 +0000 (17:46 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 25 Aug 2009 21:54:36 +0000 (17:54 -0400)
commit7dd9b65db4dae3aca473f15ea7dcdbf88c8acb1b
tree558dc151b29f82b3459bdb7d91fbb255cf556c33
parent2ef6b15973290619fdcbda2e323dbb50224622cb
don't use pagespec_match_list

This should be more efficient than pagespec_match_list since it short-circuits
after the first match is found.

The other problem with using pagespec_match_list here is it may throw an
error if a bad or failing pagespec somehow got into the dependencies.
IkiWiki/Render.pm