Commit ae2f5ecd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add support for git-archive in gitlab internal api

parent 4524f00a
...@@ -33,7 +33,7 @@ module Gitlab ...@@ -33,7 +33,7 @@ module Gitlab
return false if user.blocked? return false if user.blocked?
action = case git_cmd action = case git_cmd
when 'git-upload-pack' when 'git-upload-pack', 'git-upload-archive'
then :download_code then :download_code
when 'git-receive-pack' when 'git-receive-pack'
then then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment