From a04f25f4e852c4dfec8163417ab26d56dd943c6a Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 15 Jul 2018 00:28:51 -0400 Subject: [PATCH] Removes space before ellipsis for consistency --- src/commands/diffBranchWithBranch.ts | 6 +++--- src/commands/diffDirectory.ts | 2 +- src/commands/diffWithBranch.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/diffBranchWithBranch.ts b/src/commands/diffBranchWithBranch.ts index 934b91c..574131f 100644 --- a/src/commands/diffBranchWithBranch.ts +++ b/src/commands/diffBranchWithBranch.ts @@ -49,13 +49,13 @@ export class DiffBranchWithBranchCommand extends ActiveEditorCommand { let placeHolder; switch (args.ref2) { case '': - placeHolder = `Compare Working Tree to ${GlyphChars.Ellipsis}`; + placeHolder = `Compare Working Tree to${GlyphChars.Ellipsis}`; break; case 'HEAD': - placeHolder = `Compare HEAD to ${GlyphChars.Ellipsis}`; + placeHolder = `Compare HEAD to${GlyphChars.Ellipsis}`; break; default: - placeHolder = `Compare ${args.ref2} to ${GlyphChars.Ellipsis}`; + placeHolder = `Compare ${args.ref2} to${GlyphChars.Ellipsis}`; break; } diff --git a/src/commands/diffDirectory.ts b/src/commands/diffDirectory.ts index 4383fb5..e0747db 100644 --- a/src/commands/diffDirectory.ts +++ b/src/commands/diffDirectory.ts @@ -64,7 +64,7 @@ export class DiffDirectoryCommand extends ActiveEditorCommand { if (!args.ref1) { args = { ...args }; - const placeHolder = `Compare Working Tree to ${GlyphChars.Ellipsis}`; + const placeHolder = `Compare Working Tree to${GlyphChars.Ellipsis}`; progressCancellation = BranchesAndTagsQuickPick.showProgress(placeHolder); diff --git a/src/commands/diffWithBranch.ts b/src/commands/diffWithBranch.ts index 35c922f..bcaa07a 100644 --- a/src/commands/diffWithBranch.ts +++ b/src/commands/diffWithBranch.ts @@ -34,7 +34,7 @@ export class DiffWithBranchCommand extends ActiveEditorCommand { const gitUri = await GitUri.fromUri(uri); if (!gitUri.repoPath) return Messages.showNoRepositoryWarningMessage(`Unable to open file compare`); - const placeHolder = `Compare ${path.basename(gitUri.fsPath)} with ${GlyphChars.Ellipsis}`; + const placeHolder = `Compare ${path.basename(gitUri.fsPath)} with${GlyphChars.Ellipsis}`; const progressCancellation = BranchesAndTagsQuickPick.showProgress(placeHolder); try {