diff --git a/aider/website/assets/sample.aider.conf.yml b/aider/website/assets/sample.aider.conf.yml index 54f2eb5f2..e3a790c4e 100644 --- a/aider/website/assets/sample.aider.conf.yml +++ b/aider/website/assets/sample.aider.conf.yml @@ -152,6 +152,9 @@ ## Specify the aider ignore file (default: .aiderignore in git root) #aiderignore: .aiderignore +## Only consider files in the current subtree of the git repository +#subtree-only: false + ## Enable/disable auto commit of LLM changes (default: True) #auto-commits: true diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index e1d18f307..b5c41b54c 100644 --- a/aider/website/assets/sample.env +++ b/aider/website/assets/sample.env @@ -156,6 +156,9 @@ ## Specify the aider ignore file (default: .aiderignore in git root) #AIDER_AIDERIGNORE=.aiderignore +## Only consider files in the current subtree of the git repository +#AIDER_SUBTREE_ONLY=false + ## Enable/disable auto commit of LLM changes (default: True) #AIDER_AUTO_COMMITS=true diff --git a/aider/website/docs/config/aider_conf.md b/aider/website/docs/config/aider_conf.md index 12596dc35..6943130f5 100644 --- a/aider/website/docs/config/aider_conf.md +++ b/aider/website/docs/config/aider_conf.md @@ -191,6 +191,9 @@ cog.outl("```") ## Specify the aider ignore file (default: .aiderignore in git root) #aiderignore: .aiderignore +## Only consider files in the current subtree of the git repository +#subtree-only: false + ## Enable/disable auto commit of LLM changes (default: True) #auto-commits: true diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 42bdbb4ac..816f2fd3a 100644 --- a/aider/website/docs/config/dotenv.md +++ b/aider/website/docs/config/dotenv.md @@ -198,6 +198,9 @@ cog.outl("```") ## Specify the aider ignore file (default: .aiderignore in git root) #AIDER_AIDERIGNORE=.aiderignore +## Only consider files in the current subtree of the git repository +#AIDER_SUBTREE_ONLY=false + ## Enable/disable auto commit of LLM changes (default: True) #AIDER_AUTO_COMMITS=true diff --git a/aider/website/docs/config/options.md b/aider/website/docs/config/options.md index 785a7cdb5..c8fcff34e 100644 --- a/aider/website/docs/config/options.md +++ b/aider/website/docs/config/options.md @@ -43,7 +43,7 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model] [--tool-error-color] [--assistant-output-color] [--code-theme] [--show-diffs] [--git | --no-git] [--gitignore | --no-gitignore] [--aiderignore] - [--auto-commits | --no-auto-commits] + [--subtree-only] [--auto-commits | --no-auto-commits] [--dirty-commits | --no-dirty-commits] [--attribute-author | --no-attribute-author] [--attribute-committer | --no-attribute-committer] @@ -291,6 +291,11 @@ Specify the aider ignore file (default: .aiderignore in git root) Default: .aiderignore Environment variable: `AIDER_AIDERIGNORE` +### `--subtree-only` +Only consider files in the current subtree of the git repository +Default: False +Environment variable: `AIDER_SUBTREE_ONLY` + ### `--auto-commits` Enable/disable auto commit of LLM changes (default: True) Default: True