Move to Gitlab::Diff::FileCollection
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
Showing
app/models/compare.rb
0 → 100644
Please register or sign in to comment
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection