matschaffer/knife-solo — pull request #249 by tmatilai (2013-05-23 04:05:04+00:00)
Title: Escape rsync exclude patterns

Unless properly quoted, the chefignore globs passed to rsync will expand in shell. And if they match multiple files all but the first will be uploaded to the node. By every rsync call. This can cause **a lot** of confusion and finally breaks things as solo.rb will be a directory containing the generated tempfile and some matched files.

While at it, I also split the rsync command construction to multiple lines and added `-v` option to rsync command if knife is run in debug mode.