From c57f6e35f055a0803b07fb320bfcd3a401d2b40a Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 29 Jul 2025 11:03:57 -0700 Subject: [PATCH] bump limit to 100_000 versions (#731) --- src/components/chat/ChatHeader.tsx | 2 +- src/ipc/handlers/version_handlers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chat/ChatHeader.tsx b/src/components/chat/ChatHeader.tsx index 9f08448..1d42790 100644 --- a/src/components/chat/ChatHeader.tsx +++ b/src/components/chat/ChatHeader.tsx @@ -99,7 +99,7 @@ export function ChatHeader({ }; // REMINDER: KEEP UP TO DATE WITH app_handlers.ts - const versionPostfix = versions.length === 10_000 ? `+` : ""; + const versionPostfix = versions.length === 100_000 ? `+` : ""; const isNotMainBranch = branchInfo && branchInfo.branch !== "main"; diff --git a/src/ipc/handlers/version_handlers.ts b/src/ipc/handlers/version_handlers.ts index 827a53d..9c84ea1 100644 --- a/src/ipc/handlers/version_handlers.ts +++ b/src/ipc/handlers/version_handlers.ts @@ -37,7 +37,7 @@ export function registerVersionHandlers() { fs, dir: appPath, // KEEP UP TO DATE WITH ChatHeader.tsx - depth: 10_000, // Limit to last 10_000 commits for performance + depth: 100_000, // Limit to last 100_000 commits for performance }); return commits.map((commit: ReadCommitResult) => ({