diff --git a/lib/git/lib.rb b/lib/git/lib.rb index a0c25de6..9b9c0f6d 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -67,6 +67,7 @@ def clone(repository, name, opts = {}) arr_opts << '--config' << opts[:config] if opts[:config] arr_opts << '--origin' << opts[:remote] || opts[:origin] if opts[:remote] || opts[:origin] arr_opts << '--recursive' if opts[:recursive] + arr_opts << '--mirror' if opts[:mirror] arr_opts << '--'