Backport 4236#5439
Conversation
Read the original file for comparing/detecting newline (4236) Closes 4097 The code base diverged enough where a simple cherry-pick wasn't possible, but implementing the logic to read the input file when `NewlineStyle::Auto` was simple enough to implement. New tests were added to hopefully prevent regressions.
|
I want to note that the original PR removes code that this PR does not since they take slightly different approaches to how I was also wondering if we had any tests in |
|
because of updates made to |
|
☔ The latest upstream changes (possibly #6823) made this pull request unmergeable. Please resolve the merge conflicts. |
Read the original file for comparing/detecting newline (#4236)
Closes #4097
The code base diverged enough where a simple cherry-pick wasn't possible, but implementing the logic to read the input file when
NewlineStyle::Autowas simple enough to implement.New tests were added to hopefully prevent regressions.