disable only_committed_changes when uncommitted files are created by plugins
parent
3cc260c775
commit
7dd110ba51
|
@ -33,6 +33,9 @@ sub checkconfig () {
|
||||||
if (! defined $config{autoindex_commit}) {
|
if (! defined $config{autoindex_commit}) {
|
||||||
$config{autoindex_commit} = 1;
|
$config{autoindex_commit} = 1;
|
||||||
}
|
}
|
||||||
|
if (! $config{autoindex_commit}) {
|
||||||
|
$config{only_committed_changes}=0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub genindex ($) {
|
sub genindex ($) {
|
||||||
|
|
|
@ -104,6 +104,9 @@ sub getsetup () {
|
||||||
sub checkconfig () {
|
sub checkconfig () {
|
||||||
$config{comments_commit} = 1
|
$config{comments_commit} = 1
|
||||||
unless defined $config{comments_commit};
|
unless defined $config{comments_commit};
|
||||||
|
if (! $config{comments_commit}) {
|
||||||
|
$config{only_committed_changes}=0;
|
||||||
|
}
|
||||||
$config{comments_pagespec} = ''
|
$config{comments_pagespec} = ''
|
||||||
unless defined $config{comments_pagespec};
|
unless defined $config{comments_pagespec};
|
||||||
$config{comments_closed_pagespec} = ''
|
$config{comments_closed_pagespec} = ''
|
||||||
|
|
|
@ -58,6 +58,9 @@ sub checkconfig () {
|
||||||
if (! defined $config{tag_autocreate_commit}) {
|
if (! defined $config{tag_autocreate_commit}) {
|
||||||
$config{tag_autocreate_commit} = 1;
|
$config{tag_autocreate_commit} = 1;
|
||||||
}
|
}
|
||||||
|
if (! $config{tag_autocreate_commit}) {
|
||||||
|
$config{only_committed_changes}=0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub taglink ($) {
|
sub taglink ($) {
|
||||||
|
|
Loading…
Reference in New Issue