diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2017-10-26 09:52:52 +0000 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2017-10-26 09:52:52 +0000 |
commit | efdf51d838e68d954b0f06a6e01b11db26b9aba3 (patch) | |
tree | eb4509db32200d9fe26b8604323dd78ec243f148 | |
parent | 3ddffec0d62146e27298a982a7d2935dbe518fb9 (diff) | |
download | gitlab-ce-an/local_branches_opt_out.tar.gz |
Make local_branches OPT_OUTan/local_branches_opt_out
-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 95265b41878..408616d174b 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -166,7 +166,7 @@ module Gitlab end def local_branches(sort_by: nil) - gitaly_migrate(:local_branches) do |is_enabled| + gitaly_migrate(:local_branches, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| if is_enabled gitaly_ref_client.local_branches(sort_by: sort_by) else |