From 0e96a51a82a2cba904e47e2ee4d90717a483bc9b Mon Sep 17 00:00:00 2001 From: MuntasirSZN Date: Wed, 15 Oct 2025 22:31:49 +0600 Subject: [PATCH] fix(tree): fix -Ta max recurse handling In non tree mode, is_all_all was being checked, but not in tree mode. This meant that -Ta was not being handled correctly in tree mode. Resolves: #1361 Signed-off-by: Muntasir Mahmud --- src/output/details.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/details.rs b/src/output/details.rs index 330ece774..4ba790b89 100644 --- a/src/output/details.rs +++ b/src/output/details.rs @@ -302,6 +302,7 @@ impl<'a> Render<'a> { file.is_directory() }) && r.tree && !r.is_too_deep(depth.0) + && !file.is_all_all { trace!("matching on read_dir"); match file.read_dir() {