]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/patchqueue/pruning_is_too_strict.mdwn
web commit by EthanGlasserCamp: wikify
[ikiwiki.git] / doc / patchqueue / pruning_is_too_strict.mdwn
index 0e56ef897cc7281fe4720406fd86605a5da6f39c..0b7ea76f99a9a3ad0fd401a9828046b859c45d21 100644 (file)
@@ -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 $_) {