From 99d3a0bb2431d00c1a60f350e57100a4ae1ac4db Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 3 Aug 2025 11:25:41 -0400 Subject: [PATCH] more fixes for shell 128 error --- packages/opencode/src/snapshot/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts index d249830b..2dd1c06f 100644 --- a/packages/opencode/src/snapshot/index.ts +++ b/packages/opencode/src/snapshot/index.ts @@ -39,7 +39,7 @@ export namespace Snapshot { log.info("initialized") } await $`git --git-dir ${git} add .`.quiet().cwd(app.path.cwd).nothrow() - const hash = await $`git --git-dir ${git} write-tree`.quiet().cwd(app.path.cwd).text() + const hash = await $`git --git-dir ${git} write-tree`.quiet().cwd(app.path.cwd).nothrow().text() return hash.trim() }