Browse Source

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

main
Eric Amodio 6 years ago
parent
commit
0799fab113
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/git.ts

+ 1
- 0
CHANGELOG.md View File

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed ### 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 - Fixes html encoding issues with the _Search Commits_ view empty state
## [9.1.0] - 2018-12-12 ## [9.1.0] - 2018-12-12

+ 1
- 1
src/git/git.ts View File

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

Loading…
Cancel
Save