From 51ee32f28637c8a19d6933d05d3ad9953d8fa84b Mon Sep 17 00:00:00 2001 From: Alex Alecu Date: Sat, 23 May 2026 10:36:10 +0300 Subject: [PATCH] fix(cli): stabilize workspace patch test on Windows --- packages/opencode/test/control-plane/workspace.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/opencode/test/control-plane/workspace.test.ts b/packages/opencode/test/control-plane/workspace.test.ts index cb5c9323457..2641b5ee44b 100644 --- a/packages/opencode/test/control-plane/workspace.test.ts +++ b/packages/opencode/test/control-plane/workspace.test.ts @@ -116,6 +116,7 @@ async function withInstance(fn: (dir: string) => T | Promise) { async function initGitRepo(dir: string) { await fs.mkdir(dir, { recursive: true }) await $`git init`.cwd(dir).quiet() + await $`git config core.autocrlf false`.cwd(dir).quiet() // kilocode_change - align test repos with Git service patch behavior await $`git config core.fsmonitor false`.cwd(dir).quiet() await $`git config commit.gpgsign false`.cwd(dir).quiet() await $`git config user.email "test@opencode.test"`.cwd(dir).quiet()