summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-06 16:20:24 -0500
committerDouwe Maan <douwe@selenight.nl>2017-06-07 14:28:33 -0500
commitdbffaaa97e7a195dc5421237392788a03a6b763a (patch)
tree50bb684af42b12ee18b8221573827bdbc2d18504 /app/models/repository.rb
parentfc1090d9f39231e31f929e37b9703db9738b457c (diff)
downloadgitlab-ce-dbffaaa97e7a195dc5421237392788a03a6b763a.tar.gz
Blob#load_all_data! doesn’t need an argumentblob-load-all-data
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 07e0b3bae4f..981cb8f2e53 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -1102,7 +1102,7 @@ class Repository
blob = blob_at(sha, path)
return unless blob
- blob.load_all_data!(self)
+ blob.load_all_data!
blob.data
end