diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-07 22:37:01 -0500 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-07 22:37:01 -0500 |
commit | 21b602c60ad787b63039d804a5e15b43d0d3c32c (patch) | |
tree | 91a068f9360b295c14599dd6547972c416a3614d /app/views/projects/compare | |
parent | f1f4fdf778245cab74ff9cda2a421315c21a99aa (diff) | |
download | gitlab-ce-21b602c60ad787b63039d804a5e15b43d0d3c32c.tar.gz |
Change strategy to highlight diffs. #3945
Now we apply syntax highlighting to the whole old and new files.
This basically help us to highlight adequately multiline content.
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r-- | app/views/projects/compare/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml index 51088a7dea8..da731f28bb6 100644 --- a/app/views/projects/compare/show.html.haml +++ b/app/views/projects/compare/show.html.haml @@ -9,7 +9,7 @@ - if @commits.present? .prepend-top-default = render "projects/commits/commit_list" - = render "projects/diffs/diffs", diffs: @diffs, project: @project + = render "projects/diffs/diffs", diffs: @diffs, project: @project, diff_refs: @diff_refs - else .light-well.prepend-top-default .center |