From e6a422b6c2a941d35a58172ea17a4a883f957616 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 20 Mar 2025 11:45:50 -0700 Subject: [PATCH] copy --- aider/website/docs/faq.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md index 7588f2bb2..7c5fbee78 100644 --- a/aider/website/docs/faq.md +++ b/aider/website/docs/faq.md @@ -153,6 +153,21 @@ Add 6.9k tokens of command output to the chat? (Y)es/(N)o [Yes]: Yes /ask Are there any problems with the way this change works with the FooBar class? ``` +And of course you can prepare diff output outside of aider and provide it as +a file for aider to read: + +``` +$ git diff -C10 v1..v2 > v1-v2-changes.diff +$ aider --read v1-v2-changes.diff + +Aider v0.77.2.dev+import +Main model: anthropic/claude-3-7-sonnet-20250219 with diff edit format, 8k think tokens +────────────────────────────────── +v1-v2-changes.diff +> Do you see any potential bugs in this PR? +``` + + {: .tip } The `/git` command will not work for this purpose, as its output is not included in the chat.