diff options
author | Simon McVittie <smcv@debian.org> | 2012-04-09 15:12:35 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-07-04 09:22:57 +0100 |
commit | 3ba2ef1a54c75a83b6f90a6c01730812ef834086 (patch) | |
tree | 975ceff1b71eea802177be60c9b5dcf8638d84a6 /IkiWiki | |
parent | 532d05be9e4e5bc43b61612c1cc0a17f4389f040 (diff) | |
download | ikiwiki-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.pm | 1 |
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({ |