Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-09-04 13:25:14 +0400
committerMarin Jankovski <marin@gitlab.com>2014-09-08 11:05:16 +0400
commitf827482c12b3aeec2ed5f60afbf7c676e27435e3 (patch)
treeea03e00b15d4f5f4c3b42a7aec7ff3ee95840113 /app/helpers/commits_helper.rb
parent1067b00724c045b4fa46a9f8ff5acd09d65553e0 (diff)
Remove duplication, expand for next_line.
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r--app/helpers/commits_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 2c1df6beeab..fe6c303ecf2 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -25,8 +25,8 @@ module CommitsHelper
def side_diff_line(diff, index)
Gitlab::DiffParser.new(diff.diff.lines.to_a, diff.new_path)
- .each_for_parallel do |full_line, type, line_code, line_new, line_old, next_line|
- yield(full_line, type, line_code, line_new, line_old, next_line)
+ .each do |full_line, type, line_code, line_new, line_old, raw_line, next_line|
+ yield(full_line, type, line_code, line_new, line_old, raw_line, next_line)
end
end