pub fn remove_path_from_index(repo: &Repository, path: &Path)
Remove a path to the working index.
If the path cannot be removed from the index.