IPath zarFilePath = zarFile.getLocation();
// delete file and refresh. Deleting using the resource would trigger
// GitMoveDeleteHook which removes the file from the index
assertTrue("could not delete file " + zarFilePath.toOSString(),
zarFilePath.toFile().delete());
zarFile.refreshLocal(0, null);
assertFalse(project.getProject().getFile("zar/b.txt").exists());
IFile[] filesToCommit = new IFile[] { project.getProject().getFile("zar/b.txt") };
commitOperation = new CommitOperation(filesToCommit, null, TestUtils.AUTHOR, TestUtils.COMMITTER, "first commit");