From dd6124fa646201d99d9c4fa89d5e251ba4e8d423 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 24 Oct 2024 13:44:51 -0700 Subject: [PATCH] refactor: sort filenames in cmd_read to match cmd_add behavior --- aider/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 06fb3f435..131a669d5 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -678,7 +678,9 @@ class Commands: res = list(map(str, matched_files)) return res - sort the filenames before adding them @ai + make the same change to cmd_read @ai <====== + + def cmd_add(self, args): "Add files to the chat so aider can edit them or review them in detail"