void (@NotNull Map<GitRepository, PushSpec<GitPushSource, GitPushTarget>> pushSpecs, @Nullable VcsPushOptionValue optionValue, boolean force, @NotNull Map<String, VcsPushOptionValue> customParams) { expireExistingErrorsAndWarnings(); GitPushTagMode pushTagMode; boolean skipHook; if (optionValue instanceof GitVcsPushOptionValue) { pushTagMode = ((GitVcsPushOptionValue)optionValue).getPushTagMode(); skipHook = ((GitVcsPushOptionValue)optionValue).isSkipHook(); } else { pushTagMode = null; skipHook = false; } mySettings.setPushTagMode(pushTagMode); GitPushOperation pushOperation = new GitPushOperation(myProject, myPushSupport, pushSpecs, pushTagMode, force, skipHook); pushAndNotify(myProject, pushOperation, customParams); }