cloudfoundry/cli — pull request #234 by fraenkel (2014-07-31 13:45:33+00:00)
Title: Copy cfignore to upload directory to properly ignore files

The source whether directory or zip starts with a .cfignore.
After we create the temp directory for zipping, the cfignore is ignored in the copy. When zipping, the default ignores only apply.

This fix always copies the cfignore if present so we can properly ignore when zipping.

A current workaround is to ignore the cfignore via !.cfignore.