-
- Downloads
More refactoring from last code review. #3945
* Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
Showing
- app/controllers/projects/commit_controller.rb 1 addition, 1 deletionapp/controllers/projects/commit_controller.rb
- app/controllers/projects/compare_controller.rb 1 addition, 1 deletionapp/controllers/projects/compare_controller.rb
- app/controllers/projects/merge_requests_controller.rb 0 additions, 3 deletionsapp/controllers/projects/merge_requests_controller.rb
- app/helpers/diff_helper.rb 2 additions, 2 deletionsapp/helpers/diff_helper.rb
- app/models/merge_request.rb 4 additions, 0 deletionsapp/models/merge_request.rb
- app/views/projects/diffs/_diffs.html.haml 1 addition, 1 deletionapp/views/projects/diffs/_diffs.html.haml
- app/views/projects/merge_requests/_new_submit.html.haml 1 addition, 1 deletionapp/views/projects/merge_requests/_new_submit.html.haml
- app/views/projects/merge_requests/show/_diffs.html.haml 2 additions, 1 deletionapp/views/projects/merge_requests/show/_diffs.html.haml
- lib/gitlab/diff/file.rb 2 additions, 3 deletionslib/gitlab/diff/file.rb
- lib/gitlab/diff/highlight.rb 13 additions, 4 deletionslib/gitlab/diff/highlight.rb
- spec/fixtures/parallel_diff_result.yml 323 additions, 267 deletionsspec/fixtures/parallel_diff_result.yml
- spec/helpers/diff_helper_spec.rb 14 additions, 10 deletionsspec/helpers/diff_helper_spec.rb
- spec/lib/gitlab/diff/file_spec.rb 1 addition, 1 deletionspec/lib/gitlab/diff/file_spec.rb
- spec/lib/gitlab/diff/highlight_spec.rb 1 addition, 1 deletionspec/lib/gitlab/diff/highlight_spec.rb
This diff is collapsed.
Please register or sign in to comment