move hooks out of src

src/hooks is now hooks/common
src/ga... is now hooks/gitolite-admin/post-update
This commit is contained in:
Sitaram Chamarty 2010-02-09 19:37:37 +05:30
parent 65b8c0c48a
commit 74d70e3b9f
6 changed files with 10 additions and 10 deletions

View file

@ -176,7 +176,7 @@ if ( -d "$repo_base_abs/$repo.git" ) {
# auto-vivify new repo if you have C access (and wildrepos is on)
if ( $GL_WILDREPOS and $repos{$repo}{C}{$user} || $repos{$repo}{C}{'@all'} ) {
wrap_chdir("$repo_base_abs");
new_repo($repo, "$GL_ADMINDIR/src/hooks", $user);
new_repo($repo, "$GL_ADMINDIR/hooks/common", $user);
wrap_chdir($ENV{HOME});
}
}