refactor: sort filenames in cmd_read to match cmd_add behavior

This commit is contained in:
Paul Gauthier 2024-10-24 13:44:51 -07:00 committed by Paul Gauthier (aider)
parent 239302a219
commit dd6124fa64

View file

@ -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"