lib/capistrano-deploy-management/git.rb in capistrano-deploy-management-0.1.0 vs lib/capistrano-deploy-management/git.rb in capistrano-deploy-management-0.1.1

- old
+ new

@@ -1,9 +1,10 @@ module CapistranoDeployManagement module Git def self.load_into(configuration) configuration.load do + ssh_options[:forward_agent] = true set(:application) { repository.slice(/[^\/:]+?(?=\.git$)/) } set(:repository) { abort "Please specify repository, set :repository, 'foo'" } set :branch, 'master' @@ -34,9 +35,10 @@ task :pending do commit = ENV['COMMIT'] || "origin/#{branch}" system("git log --pretty=medium --stat #{current_revision}..#{commit}") end end + end end end -end +end \ No newline at end of file