Merge branch 'refactor-diff-yeild' into 'parallel_diff_refactor'
Refactor diffs This refactoring done on top of Marin improvements to side-by-side diff. Main target of this refactoring is to reduce mess and increase test coverage. 1. Use objects: * Gitlab::Diff::Line for line change in diff * Gitlab::Diff::File for file changes (diff + blob info) 2. Avoid `yield` magic 3. Move logic from views/helper to models/libs 4. Move diff views under separate dir `app/views/projects/diffs` See merge request !1072
Showing
File moved
File moved
File moved
lib/gitlab/diff/file.rb
0 → 100644
lib/gitlab/diff/line.rb
0 → 100644
lib/gitlab/diff/line_code.rb
0 → 100644
lib/gitlab/diff/parser.rb
0 → 100644
Please register or sign in to comment