Explorar el Código

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

main
Eric Amodio hace 6 años
padre
commit
0799fab113
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/git.ts

+ 1
- 0
CHANGELOG.md Ver fichero

@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar