When running `pijul apply` with stdin, immediately quit if the channel does not exist
Dependencies
- [2]
RFLKHQ2YFirst read all stdin when applying a patch, in order to avoid blocking - [3]
26VQKD25A more accurate safeguard for apply, to check if the output is nondestructive - [4]
A3RM526YIntegrating identity malleability - [5]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- edit in pijul/src/commands/apply.rs at line 32
let mut hashes = Vec::new();if self.change.is_empty() {let mut change = std::io::BufReader::new(std::io::stdin());let mut change = libpijul::change::Change::read(&mut change, &mut HashMap::default())?;hashes.push(repo.changes.save_change(&mut change, |_, _| Ok::<_, anyhow::Error>(()))?,)} - edit in pijul/src/commands/apply.rs at line 50[7.195413][3.0]
let mut hashes = Vec::new();if self.change.is_empty() {let mut change = std::io::BufReader::new(std::io::stdin());let mut change = libpijul::change::Change::read(&mut change, &mut HashMap::default())?;hashes.push(repo.changes.save_change(&mut change, |_, _| Ok::<_, anyhow::Error>(()))?,)}