mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: sort new file mentions before confirmation
This commit is contained in:
parent
41a43fc313
commit
e45def7a98
2 changed files with 4 additions and 4 deletions
|
@ -1327,7 +1327,7 @@ class Coder:
|
|||
|
||||
added_fnames = []
|
||||
group = ConfirmGroup(new_mentions)
|
||||
for rel_fname in new_mentions:
|
||||
for rel_fname in sorted(new_mentions):
|
||||
if self.io.confirm_ask(f"Add {rel_fname} to the chat?", group=group):
|
||||
self.add_rel_fname(rel_fname)
|
||||
added_fnames.append(rel_fname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue