Commit 60038a99 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Import: Skip if not git repo

parent fa8f8343
...@@ -23,6 +23,9 @@ namespace :gitlab do ...@@ -23,6 +23,9 @@ namespace :gitlab do
# Skip if group or user # Skip if group or user
next if namespaces.include?(repo_name) next if namespaces.include?(repo_name)
# skip if not git repo
next unless repo_name =~ /.git$/
# skip gitolite admin # skip gitolite admin
next if repo_name == 'gitolite-admin.git' next if repo_name == 'gitolite-admin.git'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment