1. 21 Mar, 2018 1 commit
    • Sean McGivern's avatar
      Fix N+1 in `MergeRequest#merge_request_diff_for` · 39c9928c
      Sean McGivern authored
      Previously, this would issue a query for each unique `diff_refs_or_sha`
      passed. This was because we didn't want to load other MR diffs into memory, as
      they had some very large columns.
      
      Now they are actually very small, and it's more efficient to just load them all
      at once and do the finding in Ruby.
      39c9928c
  2. 20 Mar, 2018 12 commits
  3. 19 Mar, 2018 27 commits