From eb7a29fe522114137e594a4da1ef4be822d44c9b Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Thu, 8 May 2025 10:16:32 +0200 Subject: [PATCH] main: move prinln! statements to before printing the changes --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index d3471d8..0da38d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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);