private static void updateCherryPickIndicatorText(
    @NotNull ProgressIndicator indicator,
    @NotNull VcsCommitMetadata commit,
    int alreadyCherryPickedCount,
    int totalCommitsToCherryPick
  ) {
    if (totalCommitsToCherryPick > 1) {
      indicator.setText(DvcsBundle.message(
        "cherry.picking.process.commit",
        StringUtil.trimMiddle(commit.getSubject(), 30),
        alreadyCherryPickedCount,
        totalCommitsToCherryPick
      ));
    }
    else {
      indicator.setText(DvcsBundle.message(
        "cherry.picking.process.commit.single",
        StringUtil.trimMiddle(commit.getSubject(), 30)
      ));
    }
  }
private static void updateCherryPickIndicatorText(
    @NotNull ProgressIndicator indicator,
    @NotNull VcsCommitMetadata commit,
    int alreadyCherryPickedCount,
    int totalCommitsToCherryPick
  )