Skip to content

The open source coding agent.

TypeScript

ignore: log

Dax Raad0ca10ec2f5b2
diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts
index 0c8cc5e82ce..163fec37c9c 100644
--- a/packages/opencode/src/snapshot/index.ts
+++ b/packages/opencode/src/snapshot/index.ts
@@ -43,6 +43,7 @@ export namespace Snapshot {
}
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).nothrow().text()
+ log.info("tracking", { hash })
return hash.trim()
}