libgit2/libgit2sharp — Issue #95: Question: How to Index.Remove() already deleted files
Author: Flonix
Created: 2011-12-06 15:38:06+00:00
State: open

Hi @all,

lets say we have the following workflow:

1. Adding a file to the repository
2. Commit
3. The file will be deleted in the working copy (not with Index.Remove())
4. How to get the repository in sync with the current working copy?

If you call Index.Remove() on an already deleted file you will get an exception.

I made some changes but my changes will result in some failing tests afterwards... So... How to remove an already deleted file?