Sfoglia il codice sorgente

Changes Show Commit History to Show File History

Changes Show Previous Commit History to Show Previous File History
main
Eric Amodio 7 anni fa
parent
commit
73c58bc923
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/commands/quickPicks.ts

+ 2
- 2
src/commands/quickPicks.ts Vedi File

@ -61,14 +61,14 @@ export class CommitQuickPick {
if (options.showFileHistory) {
if (workingFileName) {
items.push(new CommandQuickPickItem({
label: `$(versions) Show Commit History`,
label: `$(history) Show File History`,
description: undefined, //`\u00a0 \u2014 \u00a0\u00a0 ${path.basename(commit.fileName)}`,
detail: `Shows the commit history of the file, starting at the most recent commit`
}, Commands.ShowQuickFileHistory, [commit.uri, undefined, undefined, currentCommand]));
}
items.push(new CommandQuickPickItem({
label: `$(versions) Show Previous Commit History`,
label: `$(history) Show Previous File History`,
description: undefined, //`\u00a0 \u2014 \u00a0\u00a0 ${path.basename(commit.fileName)}`,
detail: `Shows the previous commit history of the file, starting at $(git-commit) ${commit.sha}`
}, Commands.ShowQuickFileHistory, [new GitUri(commit.uri, commit), undefined, undefined, currentCommand]));

Caricamento…
Annulla
Salva