Browse Source

Fixes #391 - historyExplorer.enabled always gets set

main
Eric Amodio 6 years ago
parent
commit
b4c14d433b
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/configuration.ts

+ 4
- 0
CHANGELOG.md View File

@ -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)

+ 1
- 1
src/configuration.ts View File

@ -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);
}
}

||||||
x
 
000:0
Loading…
Cancel
Save