git: allow cloning using unsupported executable version

GitOrigin-RevId: c25624502b2123717fcfbc366e30bdbd57bc2092
This commit is contained in:
Aleksey Pivovarov
2021-09-07 16:42:26 +03:00
committed by intellij-monorepo-bot
parent 2760d22ef5
commit e4885ec6aa

View File

@@ -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) {