From 81cfec1cac0ec9feee46eb1f6c0db39670822ad1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 27 Mar 2017 03:37:10 -0400 Subject: [PATCH] Updates required git version --- src/extension.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 6f16878..f425925 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -147,9 +147,9 @@ async function notifyOnUnsupportedGitVersion(context: ExtensionContext, version: if (context.globalState.get(WorkspaceState.SuppressGitVersionWarning, false)) return; const [major, minor] = version.split('.'); - // If git is less than v2.2.0 - if (parseInt(major, 10) < 2 || parseInt(minor, 10) < 2) { - const result = await window.showErrorMessage(`GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (${version}). Please install a more recent version of Git.`, `Don't Show Again`); + // If git is less than v2.11.0 + if (parseInt(major, 10) < 2 || parseInt(minor, 10) < 11) { + const result = await window.showErrorMessage(`GitLens requires a newer version of Git (>= 2.11.0) than is currently installed (${version}). Please install a more recent version of Git.`, `Don't Show Again`); if (result === `Don't Show Again`) { context.globalState.update(WorkspaceState.SuppressGitVersionWarning, true); }