mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: sort filenames before adding to chat
This commit is contained in:
parent
e0949bff69
commit
239302a219
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ class Commands:
|
|||
except OSError as e:
|
||||
self.io.tool_error(f"Error creating file {fname}: {e}")
|
||||
|
||||
for matched_file in all_matched_files:
|
||||
for matched_file in sorted(all_matched_files):
|
||||
abs_file_path = self.coder.abs_root_path(matched_file)
|
||||
|
||||
if not abs_file_path.startswith(self.coder.root) and not is_image_file(matched_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue