From e4885ec6aa6ed490e8645631e354d930cefde3d2 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Tue, 7 Sep 2021 16:42:26 +0300 Subject: [PATCH] git: allow cloning using unsupported executable version GitOrigin-RevId: c25624502b2123717fcfbc366e30bdbd57bc2092 --- plugins/git4idea/src/git4idea/ui/GitCloneDialogComponent.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/git4idea/src/git4idea/ui/GitCloneDialogComponent.kt b/plugins/git4idea/src/git4idea/ui/GitCloneDialogComponent.kt index 055148eda8db..505828481ffe 100644 --- a/plugins/git4idea/src/git4idea/ui/GitCloneDialogComponent.kt +++ b/plugins/git4idea/src/git4idea/ui/GitCloneDialogComponent.kt @@ -108,14 +108,12 @@ class GitCloneDialogComponent(project: Project, invokeAndWaitIfNeeded(modalityState) { if (!gitVersion.isSupported) { showUnsupportedVersionError(project, gitVersion, errorNotifier) - versionCheckState = VersionCheckState.FAILED - updateOkActionState(dialogStateListener) } else { inlineComponent.hideProgress() - versionCheckState = VersionCheckState.SUCCESS - updateOkActionState(dialogStateListener) } + versionCheckState = VersionCheckState.SUCCESS + updateOkActionState(dialogStateListener) } } catch (t: Throwable) {