mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix bug that caused get/put/upload/download to ignore blocks
This commit is contained in:
parent
9593ae5038
commit
2ca8fb9ab1
2 changed files with 4 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue