diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-06 15:48:48 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-07 14:52:57 +0100 |
commit | e0931b3af163c35d511aabacdba6ed3fe021acec (patch) | |
tree | 7f34c11bfe888a7dcd6c88cc6dc43d71b1537ddb /lib | |
parent | 4604e2c6db8e734360bcf34c9f5da1c9d425d2b8 (diff) | |
download | gitlab-ce-e0931b3af163c35d511aabacdba6ed3fe021acec.tar.gz |
Move RefService#CreateBranch to OPT_OUT
Part of: gitlab-org/gitaly#540
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index e6e77a86298..b8426ca2ad3 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -903,7 +903,7 @@ module Gitlab # create_branch("feature") # create_branch("other-feature", "master") def create_branch(ref, start_point = "HEAD") - gitaly_migrate(:create_branch) do |is_enabled| + gitaly_migrate(:create_branch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| if is_enabled gitaly_ref_client.create_branch(ref, start_point) else |