Correct parsing of undelete hunks
Dependencies
- [2]
YQMLICLWFix the hunk_roundtrip test, simplify code, improve test coverage, fix some edge cases. - [3]
HW7DZ2B4Fixing the change parser - [4]
OOJNAY34allow LF or CRLF when parsing change headers - [5]
5FI6SBEZRe-implement change printing and parsing
Change contents
- replacement in libpijul/src/change/parse.rs at line 97
let (i, contents) = parse_contents('+', encoding.clone(), i)?;let (i, contents) = if let Ok(x) = parse_contents('+', encoding.clone(), i) {x} else {// Contents is optional for FileUndel hunks.(i, Vec::new())};