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

Moves Show Commit Details to end

main
Eric Amodio 7 лет назад
Родитель
Сommit
0c9fcf8866
1 измененных файлов: 13 добавлений и 13 удалений
  1. +13
    -13
      src/quickPicks/commitFileDetails.ts

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

@ -164,19 +164,6 @@ export class CommitFileDetailsQuickPick {
sha: commit.sha
} as CopyMessageToClipboardCommandArgs
]));
items.push(new CommandQuickPickItem({
label: `$(git-commit) Show Commit Details`,
description: `${Strings.pad(GlyphChars.Dash, 2, 3)} $(git-commit) ${commit.shortSha}`
}, Commands.ShowQuickCommitDetails, [
commit.toGitUri(),
{
commit,
sha: commit.sha,
goBackCommand: currentCommand
} as ShowQuickCommitDetailsCommandArgs
])
);
}
if (commit.workingFileName) {
@ -202,6 +189,19 @@ export class CommitFileDetailsQuickPick {
goBackCommand: currentCommand
} as ShowQuickFileHistoryCommandArgs
]));
items.push(new CommandQuickPickItem({
label: `$(git-commit) Show Commit Details`,
description: `${Strings.pad(GlyphChars.Dash, 2, 3)} $(git-commit) ${commit.shortSha}`
}, Commands.ShowQuickCommitDetails, [
commit.toGitUri(),
{
commit,
sha: commit.sha,
goBackCommand: currentCommand
} as ShowQuickCommitDetailsCommandArgs
])
);
}
if (goBackCommand) {

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