Aider should fully ignore files in aiderignore #479

This commit is contained in:
Paul Gauthier 2024-02-24 09:38:06 -08:00
parent 5e60417e5d
commit a9fe4532c7
5 changed files with 83 additions and 14 deletions

View file

@ -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