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) })