disable only_committed_changes when uncommitted files are created by plugins

master
Joey Hess 2013-11-17 00:04:05 -04:00
parent 3cc260c775
commit 7dd110ba51
3 changed files with 9 additions and 0 deletions

View File

@ -33,6 +33,9 @@ sub checkconfig () {
if (! defined $config{autoindex_commit}) {
$config{autoindex_commit} = 1;
}
if (! $config{autoindex_commit}) {
$config{only_committed_changes}=0;
}
}
sub genindex ($) {

View File

@ -104,6 +104,9 @@ sub getsetup () {
sub checkconfig () {
$config{comments_commit} = 1
unless defined $config{comments_commit};
if (! $config{comments_commit}) {
$config{only_committed_changes}=0;
}
$config{comments_pagespec} = ''
unless defined $config{comments_pagespec};
$config{comments_closed_pagespec} = ''

View File

@ -58,6 +58,9 @@ 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 ($) {