(perltidy)
This commit is contained in:
parent
afcd974afa
commit
8714b77eae
14 changed files with 39 additions and 39 deletions
|
@ -44,7 +44,7 @@ my $ret = '';
|
|||
|
||||
$ret = access( $repo, $user, $aa, $ref );
|
||||
|
||||
if ($ret =~ /DENIED/) {
|
||||
if ( $ret =~ /DENIED/ ) {
|
||||
print "$ret\n" unless $quiet;
|
||||
exit 1;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ usage() if @ARGV;
|
|||
my $user = $ENV{GL_USER} or _die "GL_USER not set";
|
||||
my $ref = 'any';
|
||||
|
||||
print "hello $user, this is gitolite3 " . version() . " on git " . substr(`git --version`, 12) . "\n";
|
||||
print "hello $user, this is gitolite3 " . version() . " on git " . substr( `git --version`, 12 ) . "\n";
|
||||
|
||||
my $lr = lister_dispatch('list-repos');
|
||||
my $lm = lister_dispatch('list-members');
|
||||
|
@ -27,7 +27,7 @@ my $lm = lister_dispatch('list-members');
|
|||
for ( @{ $lr->() } ) {
|
||||
my $perm = '';
|
||||
for my $aa (qw(R W ^C)) {
|
||||
my $ret = access($_, $user, $aa, $ref);
|
||||
my $ret = access( $_, $user, $aa, $ref );
|
||||
$perm .= ( $ret =~ /DENIED/ ? " " : " $aa" );
|
||||
}
|
||||
next unless $perm =~ /\S/;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue