diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-03 19:32:01 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-03 19:32:01 +0300 |
commit | c008a1a9674f7c01b4504e22ed414b07eff05385 (patch) | |
tree | daf83460eaf0f1a470a8f07b0b132c3cf12a566b /lib/gitlab/email | |
parent | c86c1905b5574cac234315598d8d715fcaee3ea7 (diff) |
Make Compare#diffs diff_options a regular argument
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/message/repository_push.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/message/repository_push.rb b/lib/gitlab/email/message/repository_push.rb index 62d29387d60..0e3b65fceb4 100644 --- a/lib/gitlab/email/message/repository_push.rb +++ b/lib/gitlab/email/message/repository_push.rb @@ -42,7 +42,7 @@ module Gitlab return unless compare # This diff is more moderated in number of files and lines - @diffs ||= compare.diffs(diff_options: { max_files: 30, max_lines: 5000, no_collapse: true }).diff_files + @diffs ||= compare.diffs(max_files: 30, max_lines: 5000, no_collapse: true).diff_files end def diffs_count |