From 184848b5eef68ebb249e494f55f010ba459c5853 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 7 Jan 2025 10:52:38 -0800 Subject: [PATCH] Update commit.ts --- core/commands/slash/commit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/slash/commit.ts b/core/commands/slash/commit.ts index c2d09adba..8fc1ae27b 100644 --- a/core/commands/slash/commit.ts +++ b/core/commands/slash/commit.ts @@ -5,7 +5,7 @@ const CommitMessageCommand: SlashCommand = { name: "commit", description: "Generate a commit message for current changes", run: async function* ({ ide, llm, params }) { - const includeUnstaged = params?.includeUnstaged ?? true; + const includeUnstaged = params?.includeUnstaged ?? false; const diff = await ide.getDiff(includeUnstaged); if (diff.length === 0) {