Parcourir la source

Fixes #574 - Apply Changes not working because of whitespace conflicts

main
Eric Amodio il y a 6 ans
Parent
révision
0799fab113
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/git.ts

+ 1
- 0
CHANGELOG.md Voir le fichier

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#574](https://github.com/eamodio/vscode-gitlens/issues/574) — Apply Changes not working because of whitespace conflicts
- Fixes html encoding issues with the _Search Commits_ view empty state
## [9.1.0] - 2018-12-12

+ 1
- 1
src/git/git.ts Voir le fichier

@ -312,7 +312,7 @@ export class Git {
}
static apply(repoPath: string | undefined, patch: string, options: { allowConflicts?: boolean } = {}) {
const params = ['apply'];
const params = ['apply', '--whitespace=warn'];
if (options.allowConflicts) {
params.push(`-3`);
}

Chargement…
Annuler
Enregistrer