Skip to content

Commit

Permalink
gl-auth: R_COMMANDS adds "git-upload-archive"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitaram Chamarty committed Aug 31, 2009
1 parent dd13de2 commit 62d89bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl-auth-command
Expand Up @@ -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

Expand Down

0 comments on commit 62d89bf

Please sign in to comment.