mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
feat: add .aider* to default gitignore patterns
This commit is contained in:
parent
c1a7784781
commit
920917a47e
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]:
|
|||
if not gitignore_paths:
|
||||
return None
|
||||
|
||||
#ai add in .aider* to always be ignored too!
|
||||
patterns = []
|
||||
patterns = [".aider*"] # Always ignore .aider* files
|
||||
for path in gitignore_paths:
|
||||
if path.exists():
|
||||
with open(path) as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue