authorSergey Poznyakoff <>2014-07-30 13:12:55 (GMT)
committer Sergey Poznyakoff <>2014-07-30 13:12:55 (GMT)
commit99b83be1159294d7e05a9630b9b4babab52836e1 (patch) (side-by-side diff)
parentcb408326e12c0f70b8cd9de532e394ac52755f40 (diff)
Use special project name "all" to match all projects.
Diffstat (more/less context) (ignore whitespace changes)
2 files changed, 2 insertions, 2 deletions
diff --git a/gitaclhook b/gitaclhook
index ed6c390..0addbf5 100755
--- a/gitaclhook
+++ b/gitaclhook
@@ -84,7 +84,7 @@ and suffix parts of the repository pathname. Thus, if the repository
is located in B</var/gitroot/foobar.git>, then the corresponding name of
the project is B<foobar>.
-An asterisk matches any project name.
+Special project name B<all> matches any project.
=item I<USER>[B<@>I<CIDRLIST>]
diff --git a/lib/ b/lib/
index 4214b3f..d3f6b35 100644
--- a/lib/
+++ b/lib/
@@ -162,7 +162,7 @@ sub match_tuple($$) {
unless ($x[0] eq 'allow' || $x[0] eq 'deny');
return ( 0, "project mismatch" )
- if ($x[1] ne "*" and $x[1] ne $self->{project_name});
+ if ($x[1] ne "all" and $x[1] ne $self->{project_name});
return ( 0, "user mismatch" )
unless $self->match_user($x[2]);
return ( 0, "op mismatch" )

Return to:

Send suggestions and report system problems to the System administrator.