]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tag.pm
test alternative header link name
[git.ikiwiki.info.git] / IkiWiki / Plugin / tag.pm
index c07d0131e88f469fca0a7f7cf8b3273663bbe75e..8a0859b5ca48d45f12ccde0f4c823bb5bed913c4 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 ($) {
@@ -123,6 +120,7 @@ sub gentag ($) {
 
                        my $dir = $config{srcdir};
                        if (! $config{tag_autocreate_commit}) {
+                               no warnings 'once';
                                $dir = $IkiWiki::Plugin::transient::transientdir;
                        }