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
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-07 00:20:24 +0300
committerDouwe Maan <douwe@selenight.nl>2017-06-07 22:28:33 +0300
commitdbffaaa97e7a195dc5421237392788a03a6b763a (patch)
tree50bb684af42b12ee18b8221573827bdbc2d18504 /app/views
parentfc1090d9f39231e31f929e37b9703db9738b457c (diff)
Blob#load_all_data! doesn’t need an argument
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/viewers/_text.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/viewers/_text.html.haml b/app/views/projects/diffs/viewers/_text.html.haml
index e4b89671724..120d3540223 100644
--- a/app/views/projects/diffs/viewers/_text.html.haml
+++ b/app/views/projects/diffs/viewers/_text.html.haml
@@ -1,5 +1,5 @@
- blob = diff_file.blob
-- blob.load_all_data!(diff_file.repository)
+- blob.load_all_data!
- total_lines = blob.lines.size
- total_lines -= 1 if total_lines > 0 && blob.lines.last.blank?
- if diff_view == :parallel