diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-01-20 21:20:13 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-01-20 21:20:13 +0300 |
commit | 0e992a3b4e710f8486a37bfa73ad6981365fceb2 (patch) | |
tree | 210146bede4529ed861a77cd36b7b9646b9af65c /lib/gitlab/diff/parallel_diff.rb | |
parent | 577f2fb47a7ef57415b78b49d5c746d4e99f6a98 (diff) |
Properly highlight lines around '\ No newline at end of file'
Diffstat (limited to 'lib/gitlab/diff/parallel_diff.rb')
-rw-r--r-- | lib/gitlab/diff/parallel_diff.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/diff/parallel_diff.rb b/lib/gitlab/diff/parallel_diff.rb index a0dc3da875d..c0db3559e3a 100644 --- a/lib/gitlab/diff/parallel_diff.rb +++ b/lib/gitlab/diff/parallel_diff.rb @@ -62,7 +62,7 @@ module Gitlab } } skip_next = true - when 'old', nil + when 'old', 'nonewline', nil # Left side has text removed, right side doesn't have any change # No next line code, no new line number, no new line text lines << { |