Commit 8ee76793 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve lib/extracts_path.rb

parent 7edaf026
......@@ -135,14 +135,11 @@ module ExtractsPath
def tree
@tree ||= @repo.tree(@commit.id, @path) # rubocop:disable Gitlab/ModuleWithInstanceVariables
<<<<<<< HEAD
=======
end
def lfs_blob_ids
blob_ids = tree.blobs.map(&:id)
@lfs_blob_ids = Gitlab::Git::Blob.batch_lfs_pointers(@project.repository, blob_ids).map(&:id) # rubocop:disable Gitlab/ModuleWithInstanceVariables
>>>>>>> upstream/master
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment