mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Add support for git-archive in gitlab internal api
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user