pijul diff: Do not ignore the --untracked option in presence of --short.
[?]
FHRXP5Jnb2MWLDrPrnLnkN2ryWcGCo6CRr1dXR9FW2YA
Dec 1, 2021, 5:04 PM
EWZ7VHV4N7QNK7GNG3FC6AQ6XVPH4ADJSUQADM7TZFYAD2AYNNTACDependencies
- [2]
NWU66ZIPUntracked files when there are no other changes - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [4]
HSEYMLO2Adding an untracked change iterator - [5]
I52XSRUHMassive cleanup, and simplification - [6]
VSTBTRYEFixing a compilation error - [7]
AGTMM5U7More informative diff --short - [8]
OQQ4TGEMPrinting modifications only once in pijul diff
Change contents
- replacement in pijul/src/commands/diff.rs at line 93
if self.short {if self.short && self.untracked { - replacement in pijul/src/commands/diff.rs at line 224
for path in untracked(&repo, &*txn)? {writeln!(stdout, "U {}", path.to_str().unwrap())?;if self.untracked {for path in untracked(&repo, &*txn)? {writeln!(stdout, "U {}", path.to_str().unwrap())?;}