oops; the $repo argument to PRE_ and POST_GIT triggers was wrong!
This commit is contained in:
parent
1de773ab8e
commit
bc2bd7a78c
|
@ -82,9 +82,9 @@ sub main {
|
||||||
trigger( 'ACCESS_CHECK', $repo, $user, $aa, 'any', $ret );
|
trigger( 'ACCESS_CHECK', $repo, $user, $aa, 'any', $ret );
|
||||||
_die $ret if $ret =~ /DENIED/;
|
_die $ret if $ret =~ /DENIED/;
|
||||||
|
|
||||||
$repo = "'$rc{GL_REPO_BASE}/$repo.git'";
|
|
||||||
trigger( 'PRE_GIT', $repo, $user, $aa, 'any', $verb );
|
trigger( 'PRE_GIT', $repo, $user, $aa, 'any', $verb );
|
||||||
_system( "git", "shell", "-c", "$verb $repo" );
|
my $repodir = "'$rc{GL_REPO_BASE}/$repo.git'";
|
||||||
|
_system( "git", "shell", "-c", "$verb $repodir" );
|
||||||
trigger( 'POST_GIT', $repo, $user, $aa, 'any', $verb );
|
trigger( 'POST_GIT', $repo, $user, $aa, 'any', $verb );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue