Skip to content

Commit

Permalink
Fixes #391 - historyExplorer.enabled always gets set
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jun 4, 2018
1 parent 969ba41 commit b4c14d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- Fixes [#391](https://github.com/eamodio/vscode-gitlens/issues/391) - GitLens adds some settings in settings.json

## [8.3.3] - 2018-05-31
### Added
- Adds (re-adds) support for handling single files — closes [#321](https://github.com/eamodio/vscode-gitlens/issues/321)
Expand Down
2 changes: 1 addition & 1 deletion src/configuration.ts
Expand Up @@ -210,7 +210,7 @@ export class Configuration {
await configuration.update(section, value, ConfigurationTarget.Workspace);
}
else {
if (inspect.globalValue === value) return;
if (inspect.globalValue === value || (inspect.globalValue === undefined && inspect.defaultValue === value)) return;
await configuration.update(section, value, ConfigurationTarget.Global);
}
}
Expand Down

0 comments on commit b4c14d4

Please sign in to comment.