From 920917a47ecf6c508dd98159cab274c95e66b8a2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 27 Nov 2024 17:28:39 -0800 Subject: [PATCH] feat: add .aider* to default gitignore patterns --- aider/watch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index 477af5329..c12d60c83 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -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: