summaryrefslogtreecommitdiff
path: root/lib/api/v3/files.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 /lib/api/v3/files.rb
parentfc1090d9f39231e31f929e37b9703db9738b457c (diff)
downloadgitlab-ce-blob-load-all-data.tar.gz
Blob#load_all_data! doesn’t need an argumentblob-load-all-data
Diffstat (limited to 'lib/api/v3/files.rb')
-rw-r--r--lib/api/v3/files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/v3/files.rb b/lib/api/v3/files.rb
index c76acc86504..7b4b3448b6d 100644
--- a/lib/api/v3/files.rb
+++ b/lib/api/v3/files.rb
@@ -56,7 +56,7 @@ module API
blob = repo.blob_at(commit.sha, params[:file_path])
not_found!('File') unless blob
- blob.load_all_data!(repo)
+ blob.load_all_data!
status(200)
{