summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-23 16:35:56 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-23 16:35:56 -0400
commit85ae48b21eed71eeace8cd093ce92b7399cba861 (patch)
tree4cda8403f231de67f1b892d2ee210510d85edf43 /IkiWiki.pm
parent4030f757650a68df220956666f01e575f848daaf (diff)
Revert "pagespec_match_list * optimisation"
This reverts commit 2f96c49bd1826ecb213ae025ad456a714aa04863. I forgot about internal pages. We don't want * matching them! I left the optimisation in pagecount, where it used to live. Internal pages probably don't matter when they're just being counted.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index e8c0c7abc..e260fffea 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1837,8 +1837,6 @@ sub pagespec_match_list ($$;@) {
my $spec=shift;
my @params=@_;
- return @$pages if $spec eq '*'; # optimisation
-
my $sub=pagespec_translate($spec);
error "syntax error in pagespec \"$spec\""
if $@ || ! defined $sub;