From e11a87acfa2356eb75e03895e2ecc2eb98f2e298 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 17 Nov 2013 12:51:20 -0400 Subject: [PATCH] autoindex and tag use transient underlay when not committing, so do not need to disable only_committed_changes --- IkiWiki/Plugin/autoindex.pm | 3 --- IkiWiki/Plugin/tag.pm | 3 --- 2 files changed, 6 deletions(-) diff --git a/IkiWiki/Plugin/autoindex.pm b/IkiWiki/Plugin/autoindex.pm index dede9eb05..78571b276 100644 --- a/IkiWiki/Plugin/autoindex.pm +++ b/IkiWiki/Plugin/autoindex.pm @@ -33,9 +33,6 @@ sub checkconfig () { if (! defined $config{autoindex_commit}) { $config{autoindex_commit} = 1; } - if (! $config{autoindex_commit}) { - $config{only_committed_changes}=0; - } } sub genindex ($) { diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index c07d0131e..605f41599 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -58,9 +58,6 @@ sub checkconfig () { if (! defined $config{tag_autocreate_commit}) { $config{tag_autocreate_commit} = 1; } - if (! $config{tag_autocreate_commit}) { - $config{only_committed_changes}=0; - } } sub taglink ($) { -- 2.39.5