mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
feat: Add comment to expand read-only directory files
This commit is contained in:
parent
6b792de802
commit
805deb1002
1 changed files with 1 additions and 0 deletions
|
@ -541,6 +541,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
all_files = args.files + (args.file or [])
|
all_files = args.files + (args.file or [])
|
||||||
fnames = [str(Path(fn).resolve()) for fn in all_files]
|
fnames = [str(Path(fn).resolve()) for fn in all_files]
|
||||||
read_only_fnames = [str(Path(fn).resolve()) for fn in (args.read or [])]
|
read_only_fnames = [str(Path(fn).resolve()) for fn in (args.read or [])]
|
||||||
|
#ai expand any of the read_only_fnames which are dirs to be all the files under them!
|
||||||
if len(all_files) > 1:
|
if len(all_files) > 1:
|
||||||
good = True
|
good = True
|
||||||
for fname in all_files:
|
for fname in all_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue