void (@NotNull GitHandler handler, @Nullable ProgressIndicator indicator, boolean setIndeterminateFlag, @Nullable @Nls String operationName) { runInCurrentThread(handler, () -> { if (indicator != null) { indicator.setText(operationName == null ? GitBundle.message("git.running", handler.printableCommandLine()) : operationName); indicator.setText2(""); if (setIndeterminateFlag) { indicator.setIndeterminate(true); } } }); }