RefService.FindLocalBranches: fixing discrepancies with Gitaly
The expected response was actually in full ref form (as
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.