瀏覽代碼

Moves Show Commit Details to end

main
Eric Amodio 7 年之前
父節點
當前提交
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) {

Loading…
取消
儲存