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:
authorJames Lopez <james@jameslopez.es>2017-12-22 19:21:13 +0300
committerJames Lopez <james@jameslopez.es>2018-01-02 12:42:18 +0300
commit02276f7a70466f08bef2c233b321bee00727b8c2 (patch)
tree995c8f463435d1519f5b2ba519be4d9a19c7cf3c /lib/gitlab/bare_repository_import
parentac35636f4ad92a2f3080af556ad8cfadf73ce977 (diff)
Fix import scheduled on bare repo import
Diffstat (limited to 'lib/gitlab/bare_repository_import')
-rw-r--r--lib/gitlab/bare_repository_import/importer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/bare_repository_import/importer.rb b/lib/gitlab/bare_repository_import/importer.rb
index 298409d8b5a..b0b349088d9 100644
--- a/lib/gitlab/bare_repository_import/importer.rb
+++ b/lib/gitlab/bare_repository_import/importer.rb
@@ -55,6 +55,8 @@ module Gitlab
name: project_name,
path: project_name,
skip_disk_validation: true,
+ skip_wiki: bare_repo.wiki_exists?,
+ skip_import: true,
import_type: 'gitlab_project',
namespace_id: group&.id).execute