mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 12:57:31 -05:00
git - use different icon for uncomitted changes (#145781)
This commit is contained in:
@@ -229,8 +229,7 @@ export class GitTimelineProvider implements TimelineProvider {
|
||||
const date = new Date();
|
||||
|
||||
const item = new GitTimelineItem('', index ? '~' : 'HEAD', localize('git.timeline.uncommitedChanges', 'Uncommitted Changes'), date.getTime(), 'working', 'git:file:working');
|
||||
// TODO@eamodio: Replace with a better icon -- reflecting its status maybe?
|
||||
item.iconPath = new ThemeIcon('git-commit');
|
||||
item.iconPath = new ThemeIcon('circle-outline');
|
||||
item.description = '';
|
||||
item.setItemDetails(you, undefined, dateFormatter.format(date), Resource.getStatusText(working.type));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user