mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
4e8b7b5088
Correctly process "\ No newline..." marker lines when parsing fragments, triming the new line from the last read line and advancing the parser. Also fix the text chunk parser to follow the invariant of not advancing past the end of the object in the event of an error. The error in question now has a correct line number as well.