Import: Skip if not git repo
This commit is contained in:
parent
fa8f834374
commit
60038a99ca
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue