From 5cbfe54ddccb7aa81f873dab834f0c6d84fe3682 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:40:14 +0100 Subject: Check git version before attempting to disable `sparse-checkout` (#1656) * Check git version before attempting to disable `sparse-checkout` * Bump `MinimumGitSparseCheckoutVersion` to 2.28 due to #1386 * Initial prep for release 4.1.3 --- __test__/git-auth-helper.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '__test__/git-auth-helper.test.ts') diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts index a75b79d..4081cb1 100644 --- a/__test__/git-auth-helper.test.ts +++ b/__test__/git-auth-helper.test.ts @@ -796,7 +796,8 @@ async function setup(testName: string): Promise { ), tryDisableAutomaticGarbageCollection: jest.fn(), tryGetFetchUrl: jest.fn(), - tryReset: jest.fn() + tryReset: jest.fn(), + version: jest.fn() } settings = { -- cgit v1.2.3