Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-03-30 20:45:58 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-05 11:21:51 +0300
commit79cb4d99c0e47bfd988788ff38871e668367dfbf (patch)
treeed690679d2b74f8e3e37f68b877cc80f13b99e12 /lib/gitlab/import_export/lfs_saver.rb
parent84ee2ddbcd850d29ae852333c57e2e8381f5a535 (diff)
Import projects with LFS objects
If the LFS object already exist, we'll link it tot he existing one, if not we'll create it.
Diffstat (limited to 'lib/gitlab/import_export/lfs_saver.rb')
-rw-r--r--lib/gitlab/import_export/lfs_saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/lfs_saver.rb b/lib/gitlab/import_export/lfs_saver.rb
index bb7a070fe15..d796440902b 100644
--- a/lib/gitlab/import_export/lfs_saver.rb
+++ b/lib/gitlab/import_export/lfs_saver.rb
@@ -11,7 +11,7 @@ module Gitlab
def save
return true if @project.lfs_objects.empty?
- @project.lfs_objects.each do |lfs_object|
+ @project.lfs_storage_project.lfs_objects.each do |lfs_object|
save_lfs_object(lfs_object)
end