mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 01:25:43 -05:00
Changes stash icons
Moves stash number from label to description
This commit is contained in:
@@ -170,9 +170,9 @@ export class CommitQuickPickItem implements QuickPickItem {
|
||||
}
|
||||
|
||||
if (commit instanceof GitStashCommit) {
|
||||
this.label = `${commit.stashName}\u00a0\u2022\u00a0${message}`;
|
||||
this.label = message;
|
||||
this.description = '';
|
||||
this.detail = `\u00a0 ${moment(commit.date).fromNow()}\u00a0\u00a0\u2022\u00a0 ${commit.getDiffStatus()}`;
|
||||
this.detail = `\u00a0 ${commit.stashName}\u00a0\u00a0\u2022\u00a0 ${moment(commit.date).fromNow()}\u00a0\u00a0\u2022\u00a0 ${commit.getDiffStatus()}`;
|
||||
}
|
||||
else {
|
||||
this.label = message;
|
||||
|
||||
@@ -151,7 +151,7 @@ export class RepoStatusQuickPick {
|
||||
}
|
||||
|
||||
items.splice(0, 0, new CommandQuickPickItem({
|
||||
label: `$(repo-push) Show Stashed Changes`,
|
||||
label: `$(repo) Show Stashed Changes`,
|
||||
description: `\u00a0 \u2014 \u00a0\u00a0 shows stashed changes in the repository`
|
||||
}, Commands.ShowQuickStashList, [
|
||||
new GitUri(Uri.file(status.repoPath), { fileName: '', repoPath: status.repoPath }),
|
||||
|
||||
@@ -22,7 +22,7 @@ export class StashListQuickPick {
|
||||
]));
|
||||
|
||||
items.splice(0, 0, new CommandQuickPickItem({
|
||||
label: `$(repo-push) Stash Changes`,
|
||||
label: `$(repo-force-push) Stash Changes`,
|
||||
description: `\u00a0 \u2014 \u00a0\u00a0 stashes all changes`
|
||||
}, Commands.StashSave, [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user