Skip to content

Diff::FileCollection::Base#diff_files is calling Gitaly n+1 times per invocation

Diff::FileCollection::Base#diff_files is calling Gitaly n+1 times per invocation

This code needs to be refactored to fetch all required information in a single batched call.

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13996/diffs#6392193b3eeccd03437cde5ecbbe26154c40be17_26_25