diff options
Diffstat (limited to 'lib/gitlab/bare_repository_import/importer.rb')
-rw-r--r-- | lib/gitlab/bare_repository_import/importer.rb | 2 |
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 b0b349088d9..3fa2a7e8dfe 100644 --- a/lib/gitlab/bare_repository_import/importer.rb +++ b/lib/gitlab/bare_repository_import/importer.rb @@ -77,6 +77,8 @@ module Gitlab if bare_repo.wiki_exists? FileUtils.mv(wiki_path, File.join(project.repository_storage_path, project.disk_path + '.wiki.git')) + else + project.create_wiki end true |