PRE_ and POST_CREATE triggers get an extra argument...
...when invoked by single-repo operations like auto-creating a wild repo, or running perms or fork.
This commit is contained in:
parent
57f82ee044
commit
fbd745958e
5 changed files with 13 additions and 9 deletions
|
@ -107,8 +107,8 @@ sub main {
|
|||
if ( repo_missing($repo) and access( $repo, $user, '^C', 'any' ) !~ /DENIED/ ) {
|
||||
require Gitolite::Conf::Store;
|
||||
Gitolite::Conf::Store->import;
|
||||
new_wild_repo( $repo, $user );
|
||||
gl_log( 'create', $repo, $user );
|
||||
new_wild_repo( $repo, $user, $aa );
|
||||
gl_log( 'create', $repo, $user, $aa );
|
||||
}
|
||||
|
||||
# a ref of 'any' signifies that this is a pre-git check, where we don't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue