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
path: root/lib
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-05-31 05:16:43 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-05-31 05:16:43 +0300
commit870a8bbbdd7456af03b5b4159c6dee4941edb759 (patch)
tree544f627cbf1700991238fbbec612942fb4cd4341 /lib
parent8039b9c3c6caedc19e0e44d086a007e8975134b7 (diff)
Allow PostReceivePack to be enabled with Gitaly
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/workhorse.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb
index fe37e4da94f..18d8b4f4744 100644
--- a/lib/gitlab/workhorse.rb
+++ b/lib/gitlab/workhorse.rb
@@ -31,8 +31,7 @@ module Gitlab
feature_enabled = case action.to_s
when 'git_receive_pack'
- # Disabled for now, see https://gitlab.com/gitlab-org/gitaly/issues/172
- false
+ Gitlab::GitalyClient.feature_enabled?(:post_receive_pack)
when 'git_upload_pack'
Gitlab::GitalyClient.feature_enabled?(:post_upload_pack)
when 'info_refs'