Skip to content
Snippets Groups Projects
Unverified Commit e0931b3a authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Move RefService#CreateBranch to OPT_OUT

parent 4604e2c6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment