From 635d5bf2a2ab1fec52cdf94821b3b89adeeab38d Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Tue, 6 Mar 2018 15:03:59 +0100 Subject: [PATCH] Move CommitService::CommitPatch to OPT_OUT Part of gitlab-org/gitaly#324 --- lib/gitlab/git/commit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitlab/git/commit.rb b/lib/gitlab/git/commit.rb index 594b6a9cbc5..93037ed8d90 100644 --- a/lib/gitlab/git/commit.rb +++ b/lib/gitlab/git/commit.rb @@ -347,7 +347,7 @@ module Gitlab # # Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/324 def to_diff - Gitlab::GitalyClient.migrate(:commit_patch) do |is_enabled| + Gitlab::GitalyClient.migrate(:commit_patch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| if is_enabled @repository.gitaly_commit_client.patch(id) else