diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 3d746b5e..2b4ff076 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,5 +1,7 @@ == (unreleased) +* Fix bug in transfer.rb that caused get/put/upload/download to ignore blocks passed to them [arika] + * Fix issue with git SCM that caused "Unable to resolve revision" errors when there was trailing whitespace in git's output [Mark Zuneska, Daniel Berlinger and Evan Closson] diff --git a/lib/capistrano/transfer.rb b/lib/capistrano/transfer.rb index 88404475..c1b75e88 100644 --- a/lib/capistrano/transfer.rb +++ b/lib/capistrano/transfer.rb @@ -29,7 +29,7 @@ module Capistrano @to = to @sessions = sessions @options = options - @callback = callback + @callback = block @transport = options.fetch(:via, :sftp) @logger = options.delete(:logger) @@ -213,4 +213,4 @@ module Capistrano end end end -end \ No newline at end of file +end