mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-15 02:48:37 -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) {
|
if (commit instanceof GitStashCommit) {
|
||||||
this.label = `${commit.stashName}\u00a0\u2022\u00a0${message}`;
|
this.label = message;
|
||||||
this.description = '';
|
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 {
|
else {
|
||||||
this.label = message;
|
this.label = message;
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export class RepoStatusQuickPick {
|
|||||||
}
|
}
|
||||||
|
|
||||||
items.splice(0, 0, new CommandQuickPickItem({
|
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`
|
description: `\u00a0 \u2014 \u00a0\u00a0 shows stashed changes in the repository`
|
||||||
}, Commands.ShowQuickStashList, [
|
}, Commands.ShowQuickStashList, [
|
||||||
new GitUri(Uri.file(status.repoPath), { fileName: '', repoPath: status.repoPath }),
|
new GitUri(Uri.file(status.repoPath), { fileName: '', repoPath: status.repoPath }),
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export class StashListQuickPick {
|
|||||||
]));
|
]));
|
||||||
|
|
||||||
items.splice(0, 0, new CommandQuickPickItem({
|
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`
|
description: `\u00a0 \u2014 \u00a0\u00a0 stashes all changes`
|
||||||
}, Commands.StashSave, [
|
}, Commands.StashSave, [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user