summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-12-14 10:10:20 +0000
committerPhil Hughes <me@iamphill.com>2017-12-14 10:10:20 +0000
commit7d2affeff1885fb9984fed1088c8dffdc41a7320 (patch)
treeb572cd9484abad0cfadee819a52a7db49ce8def2 /lib/extracts_path.rb
parent3032989ad4e8b93e5ad60cdbb817d1be5f9edacb (diff)
downloadgitlab-ce-7d2affeff1885fb9984fed1088c8dffdc41a7320.tar.gz
moved lfs blob fetch from extractspath file
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index bab46281922..f576ef74603 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -127,10 +127,6 @@ module ExtractsPath
@hex_path = Digest::SHA1.hexdigest(@path)
@logs_path = logs_file_project_ref_path(@project, @ref, @path)
-
- blob_ids = tree.blobs.map(&:id)
- @lfs_blobs = Gitlab::Git::Blob.batch_lfs_pointers(@repo, blob_ids)
-
rescue RuntimeError, NoMethodError, InvalidPathError
render_404
end