Skip to content

RefService.FindLocalBranches: fixing discrepancies with Gitaly

Georges Racinet requested to merge topic/stable/find-local-branches into branch/stable

The expected response was actually in full ref form (as refs/heads). It is probable that the Rails app is resilient with respect to that.

Gitaly response is sorted (bad for perf, but nothing obvious we can do, GitLab 14.2 will even introduce different sorting criteria).

This RPC method was implemented before we had Gitaly Comparison tests, this underlines once more how crucial they are.

Merge request reports