Browse Source

Removes space before ellipsis for consistency

main
Eric Amodio 6 years ago
parent
commit
a04f25f4e8
3 changed files with 5 additions and 5 deletions
  1. +3
    -3
      src/commands/diffBranchWithBranch.ts
  2. +1
    -1
      src/commands/diffDirectory.ts
  3. +1
    -1
      src/commands/diffWithBranch.ts

+ 3
- 3
src/commands/diffBranchWithBranch.ts View File

@ -49,13 +49,13 @@ export class DiffBranchWithBranchCommand extends ActiveEditorCommand {
let placeHolder; let placeHolder;
switch (args.ref2) { switch (args.ref2) {
case '': case '':
placeHolder = `Compare Working Tree to ${GlyphChars.Ellipsis}`;
placeHolder = `Compare Working Tree to${GlyphChars.Ellipsis}`;
break; break;
case 'HEAD': case 'HEAD':
placeHolder = `Compare HEAD to ${GlyphChars.Ellipsis}`;
placeHolder = `Compare HEAD to${GlyphChars.Ellipsis}`;
break; break;
default: default:
placeHolder = `Compare ${args.ref2} to ${GlyphChars.Ellipsis}`;
placeHolder = `Compare ${args.ref2} to${GlyphChars.Ellipsis}`;
break; break;
} }

+ 1
- 1
src/commands/diffDirectory.ts View File

@ -64,7 +64,7 @@ export class DiffDirectoryCommand extends ActiveEditorCommand {
if (!args.ref1) { if (!args.ref1) {
args = { ...args }; args = { ...args };
const placeHolder = `Compare Working Tree to ${GlyphChars.Ellipsis}`;
const placeHolder = `Compare Working Tree to${GlyphChars.Ellipsis}`;
progressCancellation = BranchesAndTagsQuickPick.showProgress(placeHolder); progressCancellation = BranchesAndTagsQuickPick.showProgress(placeHolder);

+ 1
- 1
src/commands/diffWithBranch.ts View File

@ -34,7 +34,7 @@ export class DiffWithBranchCommand extends ActiveEditorCommand {
const gitUri = await GitUri.fromUri(uri); const gitUri = await GitUri.fromUri(uri);
if (!gitUri.repoPath) return Messages.showNoRepositoryWarningMessage(`Unable to open file compare`); 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); const progressCancellation = BranchesAndTagsQuickPick.showProgress(placeHolder);
try { try {

Loading…
Cancel
Save