Merge pull request #3633 from continuedev/pe/commit-cmd-fix
fix: set `includeUnstaged` default to `false`
This commit is contained in:
commit
bcc638fe50
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue