From 1156c6dc8e0188ce25e92b23718d48e3ab159fb1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 29 Jan 2021 00:15:58 -0500 Subject: [PATCH] Reduces confirmation threshold & updates msgs --- src/commands/gitCommands.actions.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/commands/gitCommands.actions.ts b/src/commands/gitCommands.actions.ts index f03d9ca..df5c72b 100644 --- a/src/commands/gitCommands.actions.ts +++ b/src/commands/gitCommands.actions.ts @@ -229,9 +229,9 @@ export namespace GitActions { refs = refsOrOptions as { repoPath: string; ref1: string; ref2: string }; } - if (files.length > 20) { + if (files.length > 10) { const result = await window.showWarningMessage( - `Are your sure you want to open all ${files.length} changes?`, + `Are your sure you want to open the changes for all ${files.length} files?`, { title: 'Yes' }, { title: 'No', isCloseAffordance: true }, ); @@ -265,9 +265,9 @@ export namespace GitActions { files = commitOrFiles; } - if (files.length > 20) { + if (files.length > 10) { const result = await window.showWarningMessage( - `Are your sure you want to open all ${files.length} changes?`, + `Are your sure you want to open the changes for all ${files.length} files?`, { title: 'Yes' }, { title: 'No', isCloseAffordance: true }, ); @@ -308,9 +308,9 @@ export namespace GitActions { ref = refOrOptions as { repoPath: string; ref: string }; } - if (files.length > 20) { + if (files.length > 10) { const result = await window.showWarningMessage( - `Are your sure you want to open all ${files.length} changes?`, + `Are your sure you want to open the changes for all ${files.length} files?`, { title: 'Yes' }, { title: 'No', isCloseAffordance: true }, ); @@ -578,7 +578,7 @@ export namespace GitActions { files = commitOrFiles; } - if (files.length > 20) { + if (files.length > 10) { const result = await window.showWarningMessage( `Are your sure you want to open all ${files.length} files?`, { title: 'Yes' }, @@ -618,9 +618,9 @@ export namespace GitActions { files = commitOrFiles; } - if (files.length > 20) { + if (files.length > 10) { const result = await window.showWarningMessage( - `Are your sure you want to open all ${files.length} revisions?`, + `Are your sure you want to open all ${files.length} file revisions?`, { title: 'Yes' }, { title: 'No', isCloseAffordance: true }, );