diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-31 14:41:25 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-31 14:41:25 -0500 |
commit | 04cf618b6ff943527938f64a451a420b494b5a76 (patch) | |
tree | 115e9f7bae89e2a1eba453560cbe6ccb551693ba /lib/api/commits.rb | |
parent | ce869e3964a40b4cf04a803f5201d940ad61b13c (diff) | |
download | gitlab-ce-04cf618b6ff943527938f64a451a420b494b5a76.tar.gz |
Change no_limits to limitsdm-collapsed-blob
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r-- | lib/api/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb index 904993d1606..c6fc17cc391 100644 --- a/lib/api/commits.rb +++ b/lib/api/commits.rb @@ -176,7 +176,7 @@ module API } if params[:path] - commit.raw_diffs(no_limits: true).each do |diff| + commit.raw_diffs(limits: false).each do |diff| next unless diff.new_path == params[:path] lines = Gitlab::Diff::Parser.new.parse(diff.diff.each_line) |