mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 13:44:59 +00:00
fix: base coder not ignoring gitignore if --file is used.
This commit is contained in:
parent
0049e78250
commit
bc1272f029
2 changed files with 31 additions and 0 deletions
|
@ -445,6 +445,7 @@ class Coder:
|
|||
fname = Path(fname)
|
||||
if self.repo and self.repo.git_ignored_file(fname):
|
||||
self.io.tool_warning(f"Skipping {fname} that matches gitignore spec.")
|
||||
continue
|
||||
|
||||
if self.repo and self.repo.ignored_file(fname):
|
||||
self.io.tool_warning(f"Skipping {fname} that matches aiderignore spec.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue