void (@ProgressTitle @NotNull String name, @NotNull Runnable runnable) { if (ApplicationManager.getApplication().isDispatchThread()) { ProgressManager.getInstance().runProcessWithProgressSynchronously(runnable, name, false, myVcs.getProject()); } else { runnable.run(); } }