feat: sort filenames before adding them to chat

This commit is contained in:
Paul Gauthier 2024-10-24 13:42:59 -07:00 committed by Paul Gauthier (aider)
parent e0c603c764
commit e0949bff69

View file

@ -678,6 +678,7 @@ class Commands:
res = list(map(str, matched_files)) res = list(map(str, matched_files))
return res return res
sort the filenames before adding them @ai
def cmd_add(self, args): def cmd_add(self, args):
"Add files to the chat so aider can edit them or review them in detail" "Add files to the chat so aider can edit them or review them in detail"