Skip to content
Snippets Groups Projects

Fix gitaly ref encoding bugs

Merged Jacob Vosmaer requested to merge jacobvosmaer-gitlab/gitlab-ce:gitaly-encodings into master
1 unresolved thread
Files
4
@@ -113,9 +113,7 @@ def find_branch(name, force_reload = false)
def local_branches(sort_by: nil)
gitaly_migrate(:local_branches) do |is_enabled|
if is_enabled
gitaly_ref_client.local_branches(sort_by: sort_by).map do |gitaly_branch|
Gitlab::Git::Branch.new(self, gitaly_branch.name, gitaly_branch)
end
gitaly_ref_client.local_branches(sort_by: sort_by)
else
branches(filter: :local, sort_by: sort_by)
end
Loading