(subconf) add the warning message

(not as prominent as in g2 though...)
This commit is contained in:
Sitaram Chamarty 2012-03-11 18:30:06 +05:30
parent d64663d12e
commit c19f75e119
2 changed files with 9 additions and 0 deletions

View file

@ -73,6 +73,7 @@ sub parse {
_warn "?? $line"; _warn "?? $line";
} }
} }
parse_done();
} }
1; 1;

View file

@ -15,6 +15,7 @@ package Gitolite::Conf::Store;
new_repo new_repo
hook_repos hook_repos
store store
parse_done
); );
use Exporter 'import'; use Exporter 'import';
@ -205,6 +206,13 @@ sub store {
store_common(); store_common();
} }
sub parse_done {
for my $ig (sort keys %ignored)
{
_warn "$ig.conf attempting to set access for " . join (", ", sort keys %{ $ignored{$ig} });
}
}
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
sub check_subconf_repo_disallowed { sub check_subconf_repo_disallowed {