mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Aider should fully ignore files in aiderignore #479
This commit is contained in:
parent
5e60417e5d
commit
a9fe4532c7
5 changed files with 83 additions and 14 deletions
|
@ -342,6 +342,10 @@ class Commands:
|
|||
else:
|
||||
fname = Path(self.coder.root) / word
|
||||
|
||||
if self.coder.repo and not self.coder.repo.filter_ignored_files([fname]):
|
||||
self.io.tool_error(f"Skipping {fname} that matches aiderignore spec.")
|
||||
continue
|
||||
|
||||
if fname.exists() and fname.is_file():
|
||||
all_matched_files.add(str(fname))
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue