Fixing a bug when outputting after a pull, when a path to be output is a string-prefix of another one without being a path-prefix of that other one
Dependencies
- [2]
ILZ44DEYsimplify outputting with no touched paths - [3]
Y6EVFMTADon't output files if they aren't in the current channel - [4]
6ZPDI7QGpull uses None as the base case path when outputing repo - [5]
2D7P2VKJChange completions (where the whole progress bar story started) - [6]
DO2Y5TY5Tag synchronisation - [7]
EUZFFJSOUpdating Pijul with the latest changes in Libpijul - [8]
FKUPWOP7Removing the `--tag` option to push and pull - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in pijul/src/commands/pushpull.rs at line 543
let mut last = None;let mut last: Option<&str> = None; - replacement in pijul/src/commands/pushpull.rs at line 554
Some(last_path) if path.starts_with(last_path) => continue,Some(last_path) => {// If `last_path` is a prefix (in the path sense) of `path`, skip.if last_path.len() < path.len() {let (pre_last, post_last) = path.split_at(last_path.len());if pre_last == last_path && post_last.starts_with("/") {continue}}},