Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/git-auth-helper.test.ts
diff options
context:
space:
mode:
authorJohn Wesley Walker III <81404201+jww3@users.noreply.github.com>2024-03-14 15:40:14 +0100
committerGitHub <noreply@github.com>2024-03-14 15:40:14 +0100
commit5cbfe54ddccb7aa81f873dab834f0c6d84fe3682 (patch)
treec25bbf42699fa3b2baa259cb026c57e3e2be442f /__test__/git-auth-helper.test.ts
parent62281a3e750ec592980ab9c7a8572a18e9a13638 (diff)
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
Diffstat (limited to '__test__/git-auth-helper.test.ts')
-rw-r--r--__test__/git-auth-helper.test.ts3
1 files changed, 2 insertions, 1 deletions
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<void> {
),
tryDisableAutomaticGarbageCollection: jest.fn(),
tryGetFetchUrl: jest.fn(),
- tryReset: jest.fn()
+ tryReset: jest.fn(),
+ version: jest.fn()
}
settings = {