From 51e11ff7e3be2e19ba63975be868c06075213e00 Mon Sep 17 00:00:00 2001 From: Danny Hooper Date: Fri, 26 Jul 2024 19:37:51 -0500 Subject: [PATCH] cli: fix: replace obsolete todo with a new one --- cli/src/commands/fix.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/src/commands/fix.rs b/cli/src/commands/fix.rs index 43eb5c13a6..24c6924ea7 100644 --- a/cli/src/commands/fix.rs +++ b/cli/src/commands/fix.rs @@ -183,9 +183,8 @@ pub(crate) fn cmd_fix( // We currently only support fixing the content of normal files, so we skip // directories and symlinks, and we ignore the executable bit. if let TreeValue::File { id, executable: _ } = term { - // TODO: Consider filename arguments and tool configuration instead of - // passing every changed file into the tool. Otherwise, the tool has to - // be modified to implement that kind of stuff. + // TODO: Skip the file if its content is larger than some configured size, + // preferably without actually reading it yet. let tool_input = ToolInput { file_id: id.clone(), repo_path: repo_path.clone(),