void (@NotNull Project project, @NotNull VirtualFile root, @NotNull Collection<? extends FilePath> removedFiles) { GitRepository repository = GitUtil.getRepositoryManager(project).getRepositoryForRoot(root); if (repository == null) { LOG.warn("Repository not found for root " + root.getPresentableUrl()); return; } repository.getUntrackedFilesHolder().addUntracked(removedFiles); }