From f9d0b69bcebba76b2dc5c126c591e673c1f63e63 Mon Sep 17 00:00:00 2001 From: muratayusuke Date: Mon, 1 Jul 2013 16:35:19 +0000 Subject: [PATCH] add recursive option to 'homesick clone' --- lib/homesick/actions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index 1a6a406..03ba481 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -11,7 +11,7 @@ class Homesick if ! destination.directory? say_status 'git clone', "#{repo} to #{destination.expand_path}", :green unless options[:quiet] - system "git clone -q #{repo} #{destination}" unless options[:pretend] + system "git clone -q --recursive #{repo} #{destination}" unless options[:pretend] else say_status :exist, destination.expand_path, :blue unless options[:quiet] end