Skip to content

Follow-up from "Resolve "Store the number of merge request commits in merge_request_diffs.commits_count""

!16164 (merged) introduced a new background migration which adds commits_count column to marge request diffs. In a next cycle we need to:

   def commits_count
    super || merge_request_diff_commits.size
   end
Edited by Jan Provaznik