From 6a5c249a343f61ad9db571d1d47a9297edf879f1 Mon Sep 17 00:00:00 2001 From: Paul Geringer Date: Mon, 25 Jan 2016 14:59:14 -0600 Subject: [PATCH] Attempt to add the reference flag --- lib/git/lib.rb | 1 + 1 file changed, 1 insertion(+) 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 << '--'