aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2018-08-21 01:04:11 +0530
committerSitaram Chamarty <sitaramc@gmail.com>2018-08-26 10:17:10 +0530
commitb4c4bdc2b0e8727c9aabc692f74f0e5bb3135665 (patch)
tree5a7f5b4c8242cd6450804b8e65a5196b98e9ab7b
parentfix 'C' and 'M' tests in 'gitolite access'... (diff)
downloadgitolite-gentoo-b4c4bdc2b0e8727c9aabc692f74f0e5bb3135665.tar.gz
gitolite-gentoo-b4c4bdc2b0e8727c9aabc692f74f0e5bb3135665.tar.bz2
gitolite-gentoo-b4c4bdc2b0e8727c9aabc692f74f0e5bb3135665.zip
access: fix minor typo in pattern name used
-rwxr-xr-xsrc/commands/access2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/access b/src/commands/access
index 8e85966..d354f4d 100755
--- a/src/commands/access
+++ b/src/commands/access
@@ -51,7 +51,7 @@ $ref ||= 'any';
# fq the ref if needed
$ref =~ s(^)(refs/heads/) if $ref and $ref ne 'any' and $ref !~ m(^(refs|VREF)/);
_die "invalid perm" if not( $aa and $aa =~ /^(R|W|\+|C|D|M|\^C)$/ );
-_die "invalid ref name" if not( $ref and $ref =~ $REPONAME_PATT );
+_die "invalid ref name" if not( $ref and $ref =~ $REF_OR_FILENAME_PATT );
my $ret = '';