1
Fork 0
mirror of https://github.com/RGBCube/dix synced 2025-07-27 11:47:46 +00:00

main: move prinln! statements to before printing the changes

This commit is contained in:
Bloxx12 2025-05-08 10:16:32 +02:00
parent fdc5118ee2
commit eb7a29fe52
No known key found for this signature in database

View file

@ -93,9 +93,6 @@ fn main() {
.format_timestamp(Some(env_logger::fmt::TimestampPrecision::Seconds))
.init();
println!("<<< {}", args.path.to_string_lossy());
println!(">>> {}", args.path2.to_string_lossy());
// handles to the threads collecting closure size information
// We do this as early as possible because nix is slow.
let closure_size_handles = if args.closure_size {
@ -220,6 +217,8 @@ fn main() {
.max()
.unwrap_or_default();
println!("<<< {}", args.path.to_string_lossy());
println!(">>> {}", args.path2.to_string_lossy());
print::print_added(&added, &post, col_width);
print::print_removed(&removed, &pre, col_width);
print::print_changes(&changed, &pre, &post, col_width);