diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-03-21 10:57:06 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-03-21 10:57:06 -0300 |
commit | cf1a1e9ac102bd14e49ca8d54494f52765cbf6a4 (patch) | |
tree | b7378bafc8bca87715140003b3904c9c3e9c0e1c /lib/api/helpers/internal_helpers.rb | |
parent | 22fc4863d33ad68ab65cd74182741e9a7e6d316f (diff) | |
download | gitlab-ce-cf1a1e9ac102bd14e49ca8d54494f52765cbf6a4.tar.gz |
Send Gitaly payload for git-upload-archive SSH commands
Diffstat (limited to 'lib/api/helpers/internal_helpers.rb')
-rw-r--r-- | lib/api/helpers/internal_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/internal_helpers.rb b/lib/api/helpers/internal_helpers.rb index 4b564cfdef2..14648588dfd 100644 --- a/lib/api/helpers/internal_helpers.rb +++ b/lib/api/helpers/internal_helpers.rb @@ -109,7 +109,7 @@ module API # Return the Gitaly Address if it is enabled def gitaly_payload(action) - return unless %w[git-receive-pack git-upload-pack].include?(action) + return unless %w[git-receive-pack git-upload-pack git-upload-archive].include?(action) { repository: repository.gitaly_repository, |