Changes stash icons

Moves stash number from label to description
This commit is contained in:
Eric Amodio
2017-05-14 03:27:08 -04:00
parent 83fff1590d
commit 3e403a2d5c
3 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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 }),

View File

@@ -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, [
{