autoindex and tag use transient underlay when not committing, so do not need to disab...
authorJoey Hess <joey@kitenet.net>
Sun, 17 Nov 2013 16:51:20 +0000 (12:51 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 17 Nov 2013 16:51:20 +0000 (12:51 -0400)
IkiWiki/Plugin/autoindex.pm
IkiWiki/Plugin/tag.pm

index dede9eb05cf3fafc9e4cc8e4d9ad013a088417a5..78571b27677d4377892f8f9a451f1c87dbde365a 100644 (file)
@@ -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 ($) {
index c07d0131e88f469fca0a7f7cf8b3273663bbe75e..605f415994e73bee121faab9fb7e5e64f1a02182 100644 (file)
@@ -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 ($) {