diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-11-23 16:51:55 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-11-23 16:59:58 +0100 |
commit | 7a1e93d35b7280db8bc4128862c86223d76a8d6d (patch) | |
tree | af2ef540c8a93a7739aa581a114a604fe03006dc /lib/gitlab/github_import/importer | |
parent | 0e6beaf50c9233ca03083691856dea2883f71773 (diff) | |
download | gitlab-ce-7a1e93d35b7280db8bc4128862c86223d76a8d6d.tar.gz |
Rename fetch_refs to refmap
Diffstat (limited to 'lib/gitlab/github_import/importer')
-rw-r--r-- | lib/gitlab/github_import/importer/repository_importer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/github_import/importer/repository_importer.rb b/lib/gitlab/github_import/importer/repository_importer.rb index 7b1994de012..9cf2e7fd871 100644 --- a/lib/gitlab/github_import/importer/repository_importer.rb +++ b/lib/gitlab/github_import/importer/repository_importer.rb @@ -45,8 +45,8 @@ module Gitlab def import_repository project.ensure_repository - fetch_refs = Gitlab::GithubImport.fetch_refs - project.repository.fetch_as_mirror(project.import_url, fetch_refs: fetch_refs, forced: true, remote_name: 'github') + refmap = Gitlab::GithubImport.refmap + project.repository.fetch_as_mirror(project.import_url, refmap: refmap, forced: true, remote_name: 'github') true rescue Gitlab::Git::Repository::NoRepository, Gitlab::Shell::Error => e |