We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f7fba commit 07ca767Copy full SHA for 07ca767
src/commands/lazycommit.ts
@@ -254,7 +254,10 @@ export default async (
254
return;
255
}
256
257
- if (choice === 'edit') {
+ if (choice === 'use') {
258
+ // User chose to use as-is, no need for further editing
259
+ editedAlready = true;
260
+ } else if (choice === 'edit') {
261
const edited = await text({
262
message: 'Edit commit message:',
263
initialValue: message,
@@ -279,6 +282,8 @@ export default async (
279
282
280
283
281
284
message = selected as string;
285
+ // User selected a message, no need for further editing
286
287
288
289
// Offer editing of the final commit message (skip if already edited)
0 commit comments