mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Git - use different icon for worktrees created by copilot (#284413)
This commit is contained in:
@@ -172,7 +172,9 @@ export class GitArtifactProvider implements SourceControlArtifactProvider, IDisp
|
||||
w.commitDetails?.hash.substring(0, shortCommitLength),
|
||||
w.commitDetails?.message.split('\n')[0]
|
||||
]).join(' \u2022 '),
|
||||
icon: new ThemeIcon('list-tree'),
|
||||
icon: w.name.startsWith('copilot-worktree')
|
||||
? new ThemeIcon('chat-sparkle')
|
||||
: new ThemeIcon('worktree'),
|
||||
timestamp: w.commitDetails?.commitDate?.getTime(),
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user