pdxcat/puppet-sync — pull request #2 by dhgwilliam (2012-12-06 18:56:44+00:00)
Title: check output of git(:ls-files) before iterating

check whether there are any untracked files before deleting them

````
remote: | private method `readlines' called for "":String
remote: | /usr/local/bin/puppet-sync:117:in `block in update'
remote: | /usr/local/bin/puppet-sync:104:in `chdir'
remote: | /usr/local/bin/puppet-sync:104:in `update'
remote: | /usr/local/bin/puppet-sync:79:in `run'
remote: | /usr/local/bin/puppet-sync:221:in `

'
````