boolean (@NotNull Project project) { Collection<Change> changes = ChangeListManager.getInstance(project).getAllChanges(); if (changes.size() > 1000) { return true; } return changes.stream().anyMatch(it -> it.getFileStatus() == FileStatus.MERGED_WITH_CONFLICTS); }