[PR #1171] [CLOSED] An option to disable git snapshots #9834

Closed
opened 2026-02-16 18:14:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1171
Author: @cvzakharchenko
Created: 7/20/2025
Status: Closed

Base: devHead: feature/disable-git-snapshot


📝 Commits (1)

  • d3ff43f An option to disable git snapshots

📊 Changes

2 files changed (+16 additions, -0 deletions)

View changed files

📝 packages/opencode/src/config/config.ts (+7 -0)
📝 packages/opencode/src/snapshot/index.ts (+9 -0)

📄 Description

Otherwise it takes an enormous amount of time on a large repo:

  INFO  2025-07-19T07:42:05 +0ms service=app name=tool.filetimes registering service
  INFO  2025-07-19T08:08:17 +1572073ms service=server duration=1589896 response
  INFO  2025-07-19T08:16:14 +476882ms service=snapshot added files
  INFO  2025-07-19T08:17:07 +53474ms service=session session=ses_7e3846879ffe1nGX38z2KH6uZ2 type=start-step part

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1171 **Author:** [@cvzakharchenko](https://github.com/cvzakharchenko) **Created:** 7/20/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/disable-git-snapshot` --- ### 📝 Commits (1) - [`d3ff43f`](https://github.com/anomalyco/opencode/commit/d3ff43f47aa61cbb95efec3cf6cc40581fc16506) An option to disable git snapshots ### 📊 Changes **2 files changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/config/config.ts` (+7 -0) 📝 `packages/opencode/src/snapshot/index.ts` (+9 -0) </details> ### 📄 Description Otherwise it takes an enormous amount of time on a large repo: ``` INFO 2025-07-19T07:42:05 +0ms service=app name=tool.filetimes registering service INFO 2025-07-19T08:08:17 +1572073ms service=server duration=1589896 response INFO 2025-07-19T08:16:14 +476882ms service=snapshot added files INFO 2025-07-19T08:17:07 +53474ms service=session session=ses_7e3846879ffe1nGX38z2KH6uZ2 type=start-step part ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:15 -05:00
yindo closed this issue 2026-02-16 18:14:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9834