Просмотр исходного кода

Changes Show Commit History to Show File History

Changes Show Previous Commit History to Show Previous File History
main
Eric Amodio 7 лет назад
Родитель
Сommit
73c58bc923
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      src/commands/quickPicks.ts

+ 2
- 2
src/commands/quickPicks.ts Просмотреть файл

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

Загрузка…
Отмена
Сохранить