boolean (@NotNull MyRepoModel<?, ?, ?> model) { if (mySingleRepoProject) return true; return model.isSelected() && (hasCommitsToPush(model) || // set force check only for async with no registry option !(model.getSupport().getRepositoryManager().isSyncEnabled() || AdvancedSettings.getBoolean("vcs.push.all.with.commits"))); }