Skip to content
Snippets Groups Projects
Commit ae2f5ecd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add support for git-archive in gitlab internal api

parent 4524f00a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment