Commit ae2f5ecdf78336f01d596eab6b17e2fbc57e11fb

Authored by Dmitriy Zaporozhets
1 parent 4524f00a

Add support for git-archive in gitlab internal api

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/api/internal.rb
... ... @@ -33,7 +33,7 @@ module Gitlab
33 33 return false if user.blocked?
34 34  
35 35 action = case git_cmd
36   - when 'git-upload-pack'
  36 + when 'git-upload-pack', 'git-upload-archive'
37 37 then :download_code
38 38 when 'git-receive-pack'
39 39 then
... ...