Import: Skip if not git repo

4-1-stable
Dmitriy Zaporozhets 2012-12-23 00:18:39 +02:00
parent fa8f834374
commit 60038a99ca
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ namespace :gitlab do
# Skip if group or user
next if namespaces.include?(repo_name)
# skip if not git repo
next unless repo_name =~ /.git$/
# skip gitolite admin
next if repo_name == 'gitolite-admin.git'