Sfoglia il codice sorgente

Removes space before ellipsis for consistency

main
Eric Amodio 6 anni fa
parent
commit
a04f25f4e8
3 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  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 Vedi File

@ -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;
}

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

@ -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);

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

@ -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 {

Caricamento…
Annulla
Salva