浏览代码

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

main
Eric Amodio 6 年前
父节点
当前提交
0799fab113
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/git.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -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 查看文件

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

正在加载...
取消
保存