We using Opscode Chef in our pipeline and we notice that the deployment (see http://docs.opscode.com/resource_deploy.html) creates a complete copy of our sourcecode to /shared/cached-copy
It already has nearly thousand complete versions of it (not just deltas!) in the .git/object folder of it, so filesize growth and growth.
Is there any way to get this cleaned up or even completely prevented? We don't need it at all.
For sure I could write something to delete the directory after each deployment but is there a good way to handle this? Thanks.