Improve command feedback
Dependencies
- [2]
6U42MTEZFixing log -- filters, along with performance improvements - [3]
JL4WKA5PImplement the Sanakirja concurrency model in a cross-process way - [4]
BZSC7VMYaddress clippy lints - [5]
YN63NUZOSanakirja 1.0 - [6]
OU6JOR3CAdd path filtering for log, add json output for log - [7]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [8]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [9]
A3RM526YIntegrating identity malleability - [*]
H72JG6HLInit feature; specific .ignore configs - [*]
Q7CHNDXNInit repo with default .ignore file - [*]
RUBBHYZ7Removing unnecessary async/await - [*]
I24UEJQLVarious post-fire fixes - [*]
MU5GSJAWPartial push and pull (WARNING: breaks the existing protocol) - [*]
6F6AAHK4Simplifying pijul::commands::log, and fixing Broken Pipe errors - [*]
4OCC6D42Recursive add - [*]
V435QOJRUsing path-slash to fix path issues on Windows - [*]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul
Change contents
- edit in pijul/src/repository.rs at line 113
use std::io::Write; - edit in pijul/src/repository.rs at line 135
let mut stderr = std::io::stderr();writeln!(stderr, "Repository created at {}", cur.to_string_lossy())?; - edit in pijul/src/commands/reset.rs at line 42
use std::io::Write;let mut stderr = std::io::stderr(); - edit in pijul/src/commands/reset.rs at line 153
writeln!(stderr, "Reset repository to last recorded change")?; - edit in pijul/src/commands/reset.rs at line 262
writeln!(stderr, "Reset given paths to last recorded change")?; - replacement in pijul/src/commands/log.rs at line 320
for pr in self.txn.reverse_log(&*self.channel_ref.read(), None)? {let mut reverse_log = self.txn.reverse_log(&*self.channel_ref.read(), None)?.peekable();if reverse_log.peek().is_none() {let mut stderr = std::io::stderr();writeln!(stderr, "No matching logs found")?;return Ok(());}for pr in reverse_log { - edit in pijul/src/commands/log.rs at line 428
- replacement in pijul/src/commands/file_operations.rs at line 98
for p in txn.iter_working_copy() {let mut working_copy = txn.iter_working_copy().peekable();if working_copy.peek().is_none() {writeln!(stdout, "No tracked files")?;return Ok(());}for p in working_copy { - edit in pijul/src/commands/file_operations.rs at line 165
- edit in pijul/src/commands/file_operations.rs at line 168
// If the user calls `pijul add .`, the entire path will be stripped, so we must account for this edge caseif path.is_dir() || path_str == "" {let display_str = if path.is_dir() {path_str.clone()} else {".".to_string()};writeln!(stderr, "The directory `{}` has been recorded, but its contents will not be tracked (use --recursive to override)", display_str)?;} - edit in pijul/src/commands/file_operations.rs at line 188[19.15998][3.172439]
writeln!(stderr, "Tracked {} path(s)", self.paths.iter().count())?;