mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
IDEA-242469 git: warn about unsupported WSL1 executable - add link to YT issue
GitOrigin-RevId: 22262ab4143c442bd0a9cdeff6f4a0bb97023436
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0e666a9166
commit
79e8bf394f
@@ -415,7 +415,7 @@ git.executable.error.file.not.found=No such file: {0}
|
||||
git.executable.validation.error.start.title=Cannot Run Git
|
||||
git.executable.validation.error.version.title=Unsupported Git Version {0}
|
||||
git.executable.validation.error.version.message=At least {0} is required
|
||||
git.executable.validation.error.wsl1.unsupported.message=WSL version 1 is not supported
|
||||
git.executable.validation.error.wsl1.unsupported.message=WSL version 1 is not supported, see <a href='https://youtrack.jetbrains.com/issue/IDEA-242469'>IDEA-242469</a>
|
||||
git.executable.validation.error.xcode.title=Accept XCode/iOS License to Run Git
|
||||
git.executable.validation.error.xcode.message=Run \u201Csudo xcodebuild -license\u201D and retry (admin rights required)
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
package git4idea.config
|
||||
|
||||
import com.intellij.notification.NotificationAction
|
||||
import com.intellij.notification.NotificationListener
|
||||
import com.intellij.notification.NotificationType
|
||||
import com.intellij.openapi.progress.ProgressIndicator
|
||||
import com.intellij.openapi.progress.ProgressManager
|
||||
@@ -27,7 +28,7 @@ internal class NotificationErrorNotifier(val project: Project) : ErrorNotifier {
|
||||
private fun createNotification(text: String, description: String?): BadGitExecutableNotification {
|
||||
return BadGitExecutableNotification(VcsNotifier.IMPORTANT_ERROR_NOTIFICATION.displayId, null,
|
||||
getErrorTitle(text, description), null, getErrorMessage(text, description),
|
||||
NotificationType.ERROR, null)
|
||||
NotificationType.ERROR, NotificationListener.UrlOpeningListener(false))
|
||||
}
|
||||
|
||||
override fun showError(@Nls(capitalization = Nls.Capitalization.Sentence) text: String) {
|
||||
|
||||
Reference in New Issue
Block a user