private static @NotNull GitChangesSaver newSaver(@NotNull Project project, @NotNull ProgressIndicator indicator) {
    Git git = Git.getInstance();
    GitSaveChangesPolicy saveMethod = GitVcsSettings.getInstance(project).getSaveChangesPolicy();
    return GitChangesSaver.getSaver(project, git, indicator,
                                    VcsBundle.message("stash.changes.message", GitBundle.message("rebase.operation.name")), saveMethod);
  }
private static @NotNull GitChangesSaver newSaver(@NotNull Project project, @NotNull ProgressIndicator indicator)