Skip to content

Commit 0bb4cc3

Browse files
committed
remove misdirection
1 parent 72e3d3b commit 0bb4cc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/git/src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,8 +1253,8 @@ export class CommandCenter {
12531253

12541254
if (documents.length > 0) {
12551255
const message = documents.length === 1
1256-
? localize('unsaved files single', "The following staged file is unsaved and will not be included in the commit if you proceed: {0}.\n\nWould you like to save it before committing?", path.basename(documents[0].uri.fsPath))
1257-
: localize('unsaved files', "There are {0} unsaved staged files.\n\nWould you like to save them before committing?", documents.length);
1256+
? localize('unsaved files single', "The following file is unsaved and will not be included in the commit if you proceed: {0}.\n\nWould you like to save it before committing?", path.basename(documents[0].uri.fsPath))
1257+
: localize('unsaved files', "There are {0} unsaved files.\n\nWould you like to save them before committing?", documents.length);
12581258
const saveAndCommit = localize('save and commit', "Save All & Commit");
12591259
const commit = localize('commit', "Commit Anyway");
12601260
const pick = await window.showWarningMessage(message, { modal: true }, saveAndCommit, commit);

0 commit comments

Comments
 (0)