Debugging of diff: show utf8 str when possible
Dependencies
- [2]
TGA6QXGIInitial support for binary diffs (conflicts are not yet supported in the output) - [3]
4DNDMC7IFixing a number of bugs related to encodings (extra newlines + misdetection in linux2x) - [4]
2VXTRPO4Custom diff separators - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in libpijul/src/diff/mod.rs at line 99
debug!("old = {:?}", l);if log_enabled!(log::Level::Debug) {if let Ok(l) = std::str::from_utf8(l) {debug!("old = {:?}", l);} else {debug!("old = {:?}", l);}} - replacement in libpijul/src/diff/mod.rs at line 121
debug!("new: {:?}", l);if log_enabled!(log::Level::Debug) {if let Ok(l) = std::str::from_utf8(l) {debug!("new = {:?}", l);} else {debug!("new = {:?}", l);}}