UntrackedFilesNotifier.notifyUntrackedFilesOverwrittenBy(project, platformFacade, untrackedFilesDetector.getFiles(),
"cherry-pick", description);
return false;
} else if (localChangesOverwrittenDetector.hasHappened()) {
notificationService.notifyError(new NotificationBuilder(project, "Cherry-Pick Error",
"Your local changes would be overwritten by cherry-pick.<br/>Commit your changes or stash them to proceed."));
return false;
} else {
notificationService.notifyError(new NotificationBuilder(project, "Cherry-Pick Error",
result.getErrorOutputAsHtmlString()));
return false;
}
}