Change:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --A feature called Local History has been to show entries such as "File Saved" and "Undo/Redo" in the timeline of a file. Simultaneously, an item called "Uncommitted changes" has been removed apparently in I found the "Uncommitted changes" item very useful to quickly see the changes of a file since the last version. Current implementation with the local history feels unconvenient and does not reveal the same information as the previous Uncommited changes item did. It also compares the file with the current version on the disk and not the changes between the two versions (version in previous commit vs. saved version). So I would like to have a possibility to configure the timeline so that the previous behaviour showing the Uncommitted changes is restored.
cc I think it is reasonable to bring back the uncommitted changes when local history is disabled.
I second this!
Opened PR to have a setting for this. I do not think making this conditional on which timeline provider is showing is clever.
A new setting allows to enable this starting in tomorrows insider build.
Wow! That's great, thanks
/verified

Discussion:
"description": "%config.timeline.showAuthor%", "scope": "window" }, <ins> "git.timeline.showUncommitted": { "type": "boolean", "default": false, "description": "%config.timeline.showUncommitted%", "scope": "window" }, </ins> "git.showUnpublishedCommitsButton": { "type": "string", "enum": [

"config.showCommitInput": "Controls whether to show the commit input in the Git source control panel.", "config.terminalAuthentication": "Controls whether to enable VS Code to be the authentication handler for git processes spawned in the integrated terminal. Note: terminals need to be restarted to pick up a change in this setting.", "config.timeline.showAuthor": "Controls whether to show the commit author in the Timeline view.", <ins> "config.timeline.showUncommitted": "Controls whether to show uncommitted changes in the Timeline view.", </ins> "config.timeline.date": "Controls which date to use for items in the Timeline view.", "config.timeline.date.committed": "Use the committed date", "config.timeline.date.authored": "Use the authored date",

const dateType = config.get<'committed' | 'authored'>('date'); const showAuthor = config.get<boolean>('showAuthor'); <ins> const showUncommitted = config.get<boolean>('showUncommitted'); </ins> const openComparison = localize('git.timeline.openComparison', "Open Comparison"); const items = commits.map<GitTimelineItem>((c, i) => {

items.splice(0, 0, item); } <ins> if (showUncommitted) { const working = repo.workingTreeGroup.resourceStates.find(r => r.resourceUri.fsPath === uri.fsPath); if (working) { 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.description = ''; item.setItemDetails(you, undefined, dateFormatter.format(date), Resource.getStatusText(working.type)); const cmd = this.commands.resolveTimelineOpenDiffCommand(item, uri); if (cmd) { item.command = { title: openComparison, command: cmd.command, arguments: cmd.arguments, }; } items.splice(0, 0, item); } } </ins> } return {

} private onConfigurationChanged(e: ConfigurationChangeEvent) { <del> if (e.affectsConfiguration('git.timeline.date') || e.affectsConfiguration('git.timeline.showAuthor')) { </del> <ins> if (e.affectsConfiguration('git.timeline.date') || e.affectsConfiguration('git.timeline.showAuthor') || e.affectsConfiguration('git.timeline.showUncommitted')) { </ins> this.fireChanged(); } }