aizatto/git-deploy — Issue #13: I can't delete files, causes error
Author: merchantguru
Created: 2011-12-15 22:29:13+00:00
State: open

If I delete a file locally, commit it, git deploy it, I get the following errors, and it doesn't remove it from my server.

```bash
Deleting index.html
c:/Ruby193/lib/ruby/gems/1.9.1/gems/net-sftp-2.0.5/lib/net/sftp/session.rb:846:in `wait_for': Net::SFTP::StatusException (2, "no such file") (Net::SFTP::StatusException)
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/net-sftp-2.0.5/lib/net/sftp/session.rb:475:in `remove!'
from c:/Ruby193/bin/git-deploy:254:in `delete'
from c:/Ruby193/bin/git-deploy:210:in `block in upload'
from c:/Ruby193/bin/git-deploy:193:in `each'
from c:/Ruby193/bin/git-deploy:193:in `upload'
from c:/Ruby193/bin/git-deploy:125:in `automate'
from c:/Ruby193/bin/git-deploy:529:in `block in

'
from c:/Ruby193/bin/git-deploy:484:in `each'
from c:/Ruby193/bin/git-deploy:484:in `

'
```