add recursive option to 'homesick clone'
This commit is contained in:
@@ -11,7 +11,7 @@ class Homesick
|
|||||||
|
|
||||||
if ! destination.directory?
|
if ! destination.directory?
|
||||||
say_status 'git clone', "#{repo} to #{destination.expand_path}", :green unless options[:quiet]
|
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
|
else
|
||||||
say_status :exist, destination.expand_path, :blue unless options[:quiet]
|
say_status :exist, destination.expand_path, :blue unless options[:quiet]
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user