Skip to content

Commit c126c12

Browse files
committed
add "--mirror"
1 parent 14738bb commit c126c12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def clone(repository, name, opts = {})
6767
arr_opts << '--config' << opts[:config] if opts[:config]
6868
arr_opts << '--origin' << opts[:remote] || opts[:origin] if opts[:remote] || opts[:origin]
6969
arr_opts << '--recursive' if opts[:recursive]
70+
arr_opts << '--mirror' if opts[:mirror]
7071

7172
arr_opts << '--'
7273

0 commit comments

Comments
 (0)