summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-07-04 14:14:22 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-07-04 14:14:22 +0000
commit71a6c83a55c21a9ac345f6ee69cbeb6484da43e5 (patch)
treec19c28f3244ec7bc3348ad16ec23daf484355666 /lib
parentf7e7e40daf335570747b6f8893a63f1e9c91657a (diff)
parentec35a9e8609c3e110e025629f5058433ce06b123 (diff)
downloadgitlab-ce-71a6c83a55c21a9ac345f6ee69cbeb6484da43e5.tar.gz
Merge branch 'gitaly-clean-up-tests' into 'master'
Clean up Gitaly tests See merge request !12526
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/gitaly_client/ref.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client/ref.rb b/lib/gitlab/gitaly_client/ref.rb
index 2d61992f595..6edc69de078 100644
--- a/lib/gitlab/gitaly_client/ref.rb
+++ b/lib/gitlab/gitaly_client/ref.rb
@@ -34,7 +34,7 @@ module Gitlab
commit_id: commit_id,
prefix: ref_prefix
)
- GitalyClient.call(@storage, :ref, :find_ref_name, request).name
+ encode!(GitalyClient.call(@storage, :ref, :find_ref_name, request).name.dup)
end
def count_tag_names