Skip to content
Snippets Groups Projects

Replace references to MergeRequestDiff#commits with st_commits when we care only about the number of commits

Merged username-removed-378947 requested to merge use-st-commits-where-possible into master

What does this MR do?

It optimizes the performance by replacing calls to MergeRequestDiff#commits with MergeRequestDiff#st_commits when it's possible. We don't have to instantiate all objects to check the size of the array

Does this MR meet the acceptance criteria?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading