diff --git a/lib/git/lib.rb b/lib/git/lib.rb index a0c25de6..d55b984e 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -66,6 +66,7 @@ def clone(repository, name, opts = {}) arr_opts << '--depth' << opts[:depth].to_i if opts[:depth] && opts[:depth].to_i > 0 arr_opts << '--config' << opts[:config] if opts[:config] arr_opts << '--origin' << opts[:remote] || opts[:origin] if opts[:remote] || opts[:origin] + arr_opts << '--reference' << opts[:reference] if opts[:reference] arr_opts << '--recursive' if opts[:recursive] arr_opts << '--'