lib/capistrano/bundle_rsync/git.rb in capistrano-bundle_rsync-0.4.7 vs lib/capistrano/bundle_rsync/git.rb in capistrano-bundle_rsync-0.4.8

- old
+ new

@@ -1,10 +1,10 @@ require 'capistrano/bundle_rsync/scm' require 'capistrano/configuration/filter' class Capistrano::BundleRsync::Git < Capistrano::BundleRsync::SCM def check - exit 1 unless execute("git ls-remote #{repo_url}") + exit 1 unless execute("git ls-remote #{repo_url} HEAD") execute("mkdir -p #{config.local_base_path}") end def clone if File.exist?("#{config.local_mirror_path}/HEAD")