Updating the protocol to output a blank line if there are no identities
Dependencies
- [2]
DWSAYGVEUpdate codebase to use new identity management - [3]
LJFJEX43Fixing newline issues in the protocol over OpenSSH - [4]
4OJWMSOWFully replace crate::Identity - [5]
A3RM526YIntegrating identity malleability - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- edit in pijul/src/commands/protocol.rs at line 342
writeln!(o)?;o.flush()?; - edit in pijul/src/commands/protocol.rs at line 346
let mut at_least_one = false; - replacement in pijul/src/commands/protocol.rs at line 348
output_id(id, last_touched, &mut o).unwrap_or(());at_least_one |= output_id(id, last_touched, &mut o).unwrap_or(false);}debug!("at least one {:?}", at_least_one);if !at_least_one {writeln!(o)?; - replacement in pijul/src/commands/protocol.rs at line 386
) -> Result<(), anyhow::Error> {) -> Result<bool, anyhow::Error> { - replacement in pijul/src/commands/protocol.rs at line 400
return Ok(());return Ok(false); - replacement in pijul/src/commands/protocol.rs at line 405
return Ok(());return Ok(false); - replacement in pijul/src/commands/protocol.rs at line 410
return Ok(());return Ok(false); - edit in pijul/src/commands/protocol.rs at line 414
return Ok(true) - replacement in pijul/src/commands/protocol.rs at line 418
Ok(())Ok(false)