diff --git a/src/Gitolite/Conf/Store.pm b/src/Gitolite/Conf/Store.pm index 0c917ac..a568a3b 100644 --- a/src/Gitolite/Conf/Store.pm +++ b/src/Gitolite/Conf/Store.pm @@ -197,6 +197,7 @@ sub hook_repos { for my $repo (`find . -name "*.git" -prune`) { chomp($repo); $repo =~ s/\.git$//; + $repo =~ s(^\./)(); hook_1($repo); } }