diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-18 00:22:33 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-04-18 00:22:33 +0000 |
commit | bf0717802f9bea5222f0149ebc7a843664a27ef7 (patch) | |
tree | b5175c2cdbd730b13c182905eb8074f0552edfd4 /app/services | |
parent | dbcfbd68b6b2b4c62ba5381317296b23002e3067 (diff) | |
download | gitlab-ce-bf0717802f9bea5222f0149ebc7a843664a27ef7.tar.gz |
Does not remove the GitHub remote when importing from GitHub
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/import_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/projects/import_service.rb b/app/services/projects/import_service.rb index 4c72d5e117d..eea17e24903 100644 --- a/app/services/projects/import_service.rb +++ b/app/services/projects/import_service.rb @@ -59,7 +59,6 @@ module Projects project.repository.add_remote(project.import_type, project.import_url) project.repository.set_remote_as_mirror(project.import_type) project.repository.fetch_remote(project.import_type, forced: true) - project.repository.remove_remote(project.import_type) end def import_data |