diff --git a/lib/homesick.rb b/lib/homesick.rb index 04abfa3..7e453ee 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -21,7 +21,7 @@ class Homesick < Thor empty_directory repos_dir, :verbose => false inside repos_dir do if uri =~ GITHUB_NAME_REPO_PATTERN - git_clone "git://github.com/#{$1}/#{$2}.git", "#{$1}_#{$2}" + git_clone "git://github.com/#{$1}/#{$2}.git", :destination => "#{$1}_#{$2}" else git_clone uri end diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index ac2e385..2e1203e 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -12,7 +12,7 @@ class Homesick if ! destination.directory? say_status 'git clone', "#{repo} to #{destination.expand_path}", :green if config.fetch(:verbose, true) - system "git clone #{repo} #{destination}" unless options[:pretend] + system "git clone -q #{repo} #{destination}" unless options[:pretend] else say_status :exist, destination.expand_path, :blue end