Add support for git-archive in gitlab internal api

This commit is contained in:
Dmitriy Zaporozhets 2013-04-20 15:43:48 +03:00
parent 4524f00adf
commit ae2f5ecdf7
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module Gitlab
return false if user.blocked?
action = case git_cmd
when 'git-upload-pack'
when 'git-upload-pack', 'git-upload-archive'
then :download_code
when 'git-receive-pack'
then