aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2012-04-09 15:12:35 +0100
committerSimon McVittie <smcv@debian.org>2014-07-04 09:22:57 +0100
commit3ba2ef1a54c75a83b6f90a6c01730812ef834086 (patch)
tree975ceff1b71eea802177be60c9b5dcf8638d84a6 /IkiWiki
parent532d05be9e4e5bc43b61612c1cc0a17f4389f040 (diff)
downloadikiwiki-3ba2ef1a54c75a83b6f90a6c01730812ef834086.tar
ikiwiki-3ba2ef1a54c75a83b6f90a6c01730812ef834086.tar.gz
autoindex: remove unnecessary special case for transient underlay
It's not clear that the transient underlay should be excluded from indexing; see [[bugs/transient autocreated tagbase is not transient autoindexed]]. In any case, the code that checks what directories might need indexes specifically checks for the srcdir anyway, so the only effect this extra check can have is negative (it could fail to notice files in the transient underlay and attempt to recreate them unnecessarily).
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/autoindex.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/autoindex.pm b/IkiWiki/Plugin/autoindex.pm
index 78571b276..04d501461 100644
--- a/IkiWiki/Plugin/autoindex.pm
+++ b/IkiWiki/Plugin/autoindex.pm
@@ -71,7 +71,6 @@ sub refresh () {
my (%pages, %dirs);
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
- next if $dir eq $IkiWiki::Plugin::transient::transientdir;
chdir($dir) || next;
find({