diff options
author | James Lopez <james@jameslopez.es> | 2018-01-03 09:10:43 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-01-03 09:10:43 +0100 |
commit | f2d4b24a9404a1439d4f4c983fdf9ca000ac6e21 (patch) | |
tree | fa9f3bd98f0f44a2afea85ea03f18afe1fbe5a2f /lib | |
parent | 11d0083e95b9dc22c27f368e38058ec3e0a40f46 (diff) | |
download | gitlab-ce-f2d4b24a9404a1439d4f4c983fdf9ca000ac6e21.tar.gz |
refactor code to use new import type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/bare_repository_import/importer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/bare_repository_import/importer.rb b/lib/gitlab/bare_repository_import/importer.rb index b0b349088d9..64e41d42709 100644 --- a/lib/gitlab/bare_repository_import/importer.rb +++ b/lib/gitlab/bare_repository_import/importer.rb @@ -56,8 +56,7 @@ module Gitlab path: project_name, skip_disk_validation: true, skip_wiki: bare_repo.wiki_exists?, - skip_import: true, - import_type: 'gitlab_project', + import_type: 'bare_repository', namespace_id: group&.id).execute if project.persisted? && mv_repo(project) |