Cleaner handling of binary changes in the text format
Dependencies
- [2]
7ABOS34CDebug statements and formatting - [3]
FGIVSUFHFixing conflicts with the new patch parsing code, and introducing AddRoot - [4]
MQ7TZOT6Edits can delete lines too - [5]
SMMRGKCXRecursive file deletions: show the correct paths - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [7]
YDTN6BGITouch the channel if no file was changed - [8]
5FI6SBEZRe-implement change printing and parsing - [9]
I24UEJQLVarious post-fire fixes - [10]
I2D35LLFMore accurate recording of modification time
Change contents
- replacement in pijul/src/commands/record.rs at line 403
bail!("Empty change")if rec.has_binary_files {bail!("Cannot record a binary change interactively. Please use -a.")} else {bail!("Cannot parse change")} - replacement in libpijul/src/change/printable.rs at line 647
} else {} else if contents.len() <= 4096 { - edit in libpijul/src/change/printable.rs at line 649
} else {Ok(()) - edit in libpijul/src/change/parse.rs at line 356
let has_encoding = encoding.is_some(); - replacement in libpijul/src/change/parse.rs at line 361
if !vec.is_empty() {if has_encoding || !vec.is_empty() {