From cea6926cf26647d5bad7dccadffc0769d2692e82 Mon Sep 17 00:00:00 2001 From: joshaber Date: Thu, 3 Dec 2015 15:46:36 -0500 Subject: [PATCH] Set IGNORE_WHITESPACE_EOL on Windows. --- src/git-repository-async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git-repository-async.js b/src/git-repository-async.js index f0c394a02..116f52216 100644 --- a/src/git-repository-async.js +++ b/src/git-repository-async.js @@ -511,7 +511,7 @@ export default class GitRepositoryAsync { // Ignore eol of line differences on windows so that files checked in // as LF don't report every line modified when the text contains CRLF // endings. - // TODO: set GIT_DIFF_IGNORE_WHITESPACE_EOL + options.flags = Git.Diff.OPTION.IGNORE_WHITESPACE_EOL } return this._diffBlobToBuffer(blob, text, options) })