gl-auth: R_COMMANDS adds "git-upload-archive"

This commit is contained in:
Sitaram Chamarty 2009-08-31 20:50:47 +05:30
parent dd13de2d14
commit 62d89bf8f8

View file

@ -42,7 +42,7 @@ die "couldnt do perms file" unless (my $ret = do $GL_CONF_COMPILED);
# definitions specific to this program
# ----------------------------------------------------------------------------
my $R_COMMANDS=qr/^git[ -]upload-pack$/;
my $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/;
my $W_COMMANDS=qr/^git[ -]receive-pack$/;
my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern