drush-ops/drush — pull request #288 by cafuego (2013-11-25 22:18:52+00:00)
Title: Also preserve .git dir if working-copy was specified on the project only

Drush deletes the .git directory from cloned projects without checking whether the working-copy option was specified. This patch adds that check, so the working-copy option actually leaves a working copy. 6.x already performs this check, but uses a project attribute that isn't present in 5.x.