summaryrefslogtreecommitdiff
path: root/spec/models/note_diff_file_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Persist truncated note diffs on a new table45190-create-notes-diff-filesOswaldo Ferreira2018-05-241-0/+11
We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response. With this change we solve this problem and simplify a lot fetching this piece of info.