Closed GrahamTheCoder closed 8 years ago
When trying to parse a patch file, an InvalidObjectIdException was being thrown because NextLF is used despite not knowing if the file contains CRLFs.
InvalidObjectIdException
NextLF
To fix this I've:
EolCanonicalizingInputStream
ApplyCommandTests
PatchTests
Whoops, foiled by Github's UI. I didn't mean to open the PR here - meant it to be here
When trying to parse a patch file, an
InvalidObjectIdException
was being thrown becauseNextLF
is used despite not knowing if the file contains CRLFs.To fix this I've:
EolCanonicalizingInputStream
for patches so they are always CRLF onlyApplyCommandTests
andPatchTests
run against various combinations of CRLFs and non-CRLFs to ensure we have some coverage of these areas.