add recursive option to 'homesick clone'

This commit is contained in:
muratayusuke
2013-07-01 16:35:19 +00:00
parent 10a9c0f482
commit 26ce289e9b

View File

@@ -10,7 +10,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