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
This commit is contained in:
John Wesley Walker III 2024-03-14 15:40:14 +01:00 committed by GitHub
parent 8410ad0602
commit cd7d8d697e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 97 additions and 30 deletions

View file

@ -796,7 +796,8 @@ async function setup(testName: string): Promise<void> {
),
tryDisableAutomaticGarbageCollection: jest.fn(),
tryGetFetchUrl: jest.fn(),
tryReset: jest.fn()
tryReset: jest.fn(),
version: jest.fn()
}
settings = {