Skip to content
Snippets Groups Projects
Commit 78fd1dd9 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'zj-tag-containing-sha-opt-out' into 'master'

Tag with a commit detection defaults to Gitaly

See merge request gitlab-org/gitlab-ce!18305
parents 13bf7094 bbbe40ea
No related branches found
No related tags found
No related merge requests found
---
title: Detecting tags containing a commit uses Gitaly by default
merge_request:
author:
type: performance
Loading
Loading
@@ -1395,7 +1395,8 @@ module Gitlab
end
 
def tag_names_contains_sha(sha)
gitaly_migrate(:tag_names_contains_sha) do |is_enabled|
gitaly_migrate(:tag_names_contains_sha,
status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_ref_client.tag_names_contains_sha(sha)
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