void (@NotNull ProgressIndicator indicator) { indicator.setIndeterminate(true); indicator.setText2(VcsBundle.message("commit.wait.util.synched.text")); ProgressIndicatorUtils.awaitWithCheckCanceled(mySemaphore, indicator); }