Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2017-04-04 14:31:24 +0300
committerAhmad Sherif <me@ahmadsherif.com>2017-04-04 14:31:33 +0300
commitd56e4222573c791771b99bfbd655eecef301cf54 (patch)
treebda2ddc480cfbb4b30f5110f52c323b671694ab4 /lib/gitlab
parent5f7ebfb9aa023849b8b296bf9cf0f472b886d072 (diff)
Disable support for Gitaly PostReceivePack
See https://gitlab.com/gitlab-org/gitaly/issues/172
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/workhorse.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb
index d0637f8b394..09c3bd8fc9e 100644
--- a/lib/gitlab/workhorse.rb
+++ b/lib/gitlab/workhorse.rb
@@ -35,7 +35,8 @@ module Gitlab
feature_enabled = case action.to_s
when 'git_receive_pack'
- Gitlab::GitalyClient.feature_enabled?(:post_receive_pack)
+ # Disabled for now, see https://gitlab.com/gitlab-org/gitaly/issues/172
+ false
when 'git_upload_pack'
Gitlab::GitalyClient.feature_enabled?(:post_upload_pack)
when 'info_refs'