summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/snapshot/index.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts
index 958af3daf..b23de6e07 100644
--- a/packages/opencode/src/snapshot/index.ts
+++ b/packages/opencode/src/snapshot/index.ts
@@ -38,10 +38,11 @@ export namespace Snapshot {
await $`git --git-dir ${git} add .`.quiet().cwd(app.path.cwd).nothrow()
log.info("added files")
- const result = await $`git --git-dir ${git} commit -m "snapshot" --author="opencode <[email protected]>"`
- .quiet()
- .cwd(app.path.cwd)
- .nothrow()
+ const result =
+ await $`git --git-dir ${git} commit -m "snapshot" --no-gpg-sign --author="opencode <[email protected]>"`
+ .quiet()
+ .cwd(app.path.cwd)
+ .nothrow()
const match = result.stdout.toString().match(/\[.+ ([a-f0-9]+)\]/)
if (!match) return