summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-10-02 17:34:08 +0000
committerRobert Speicher <robert@gitlab.com>2017-10-02 17:34:08 +0000
commit95f613837dca391a77eed9f948326b982c77d723 (patch)
tree579d270f764599115283e7e3d7dea17a3e26197c /lib
parentfd8c56008fdadf45bd2ed1e0c50fbea51424a176 (diff)
parentbac29160302549c3c651991bf839b304a9e1c8b4 (diff)
downloadgitlab-ce-95f613837dca391a77eed9f948326b982c77d723.tar.gz
Merge branch 'sh-fix-import-repos' into 'master'
Fix gitlab-rake gitlab:import:repos task Closes #37682 See merge request gitlab-org/gitlab-ce!14597
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/bare_repository_importer.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/bare_repository_importer.rb b/lib/gitlab/bare_repository_importer.rb
index 9323bfc7fb2..1d98d187805 100644
--- a/lib/gitlab/bare_repository_importer.rb
+++ b/lib/gitlab/bare_repository_importer.rb
@@ -56,7 +56,8 @@ module Gitlab
name: project_path,
path: project_path,
repository_storage: storage_name,
- namespace_id: group&.id
+ namespace_id: group&.id,
+ skip_disk_validation: true
}
project = Projects::CreateService.new(user, project_params).execute