diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-14 10:10:20 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-14 10:10:20 +0000 |
commit | 7d2affeff1885fb9984fed1088c8dffdc41a7320 (patch) | |
tree | b572cd9484abad0cfadee819a52a7db49ce8def2 /lib/extracts_path.rb | |
parent | 3032989ad4e8b93e5ad60cdbb817d1be5f9edacb (diff) | |
download | gitlab-ce-7d2affeff1885fb9984fed1088c8dffdc41a7320.tar.gz |
moved lfs blob fetch from extractspath file
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r-- | lib/extracts_path.rb | 4 |
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 |