mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Set IGNORE_WHITESPACE_EOL on Windows.
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user