X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a2766fa0d7c4ba4bad775afc41545f028658b1d0..c03adfbaeeb26ebb3f65bd916446555c63b8d8b1:/doc/patchqueue/pruning_is_too_strict.mdwn diff --git a/doc/patchqueue/pruning_is_too_strict.mdwn b/doc/patchqueue/pruning_is_too_strict.mdwn index 0e56ef897..0b7ea76f9 100644 --- a/doc/patchqueue/pruning_is_too_strict.mdwn +++ b/doc/patchqueue/pruning_is_too_strict.mdwn @@ -39,7 +39,7 @@ Preliminary patch for a feature wishlist item: [[bugs/pruning_is_too_strict]]. wanted => sub { $_=decode_utf8($_); - if (/$config{wiki_file_prune_regexp}/) { - + if (is_prune($_)) { + + if (is_prune($_, $config{underlaydir})) { $File::Find::prune=1; } elsif (! -d $_ && ! -l $_) {