diff options
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r-- | lib/gitlab_projects.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 38a3a7d..3afbe64 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -92,6 +92,9 @@ class GitlabProjects # Import project via git clone --bare # URL must be publicly cloneable def import_project + # Skip import if repo already exists + return false if File.exists?(full_path) + @source = ARGV.shift # timeout for clone |