Skip to content

Implement list_refs with a single RPC

James Fargher requested to merge unify_ref_names into master

What does this MR do and why?

gitaly#3966

Behind feature flag list_refs_for_find_all_tags_branches. Rollout #383617 (closed)

While testing !102002 (merged) I noticed that Gitlab::Git::Repository#list_refs was implemented with two RPC calls, FindAllBranchNames and FindAllTagNames. Now that we use ListRefs for both of these, we can reduce the combination to a single call

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by James Fargher

Merge request reports

Loading