mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-27 15:55:00 +00:00
fix: remove stray comment and add sorting note in cmd_read
This commit is contained in:
parent
6181fe5efa
commit
c9993dccc8
1 changed files with 2 additions and 3 deletions
|
@ -678,9 +678,6 @@ class Commands:
|
|||
res = list(map(str, matched_files))
|
||||
return res
|
||||
|
||||
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"
|
||||
|
||||
|
@ -1165,6 +1162,8 @@ class Commands:
|
|||
self.io.tool_error("Please provide filenames or directories to read.")
|
||||
return
|
||||
|
||||
## we need to collect all the expanded filenames, *then* sort them @ai
|
||||
|
||||
filenames = parse_quoted_filenames(args)
|
||||
for pattern in sorted(filenames):
|
||||
# Expand tilde for home directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue