mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
feat: Copy read-only files when creating a new coder from an existing one
This commit is contained in:
parent
d2bd3645ec
commit
4a39f7c0ca
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ class Coder:
|
||||||
# Bring along context from the old Coder
|
# Bring along context from the old Coder
|
||||||
update = dict(
|
update = dict(
|
||||||
fnames=list(from_coder.abs_fnames),
|
fnames=list(from_coder.abs_fnames),
|
||||||
|
abs_read_only_fnames=list(from_coder.abs_read_only_fnames), # Copy read-only files
|
||||||
done_messages=done_messages,
|
done_messages=done_messages,
|
||||||
cur_messages=from_coder.cur_messages,
|
cur_messages=from_coder.cur_messages,
|
||||||
aider_commit_hashes=from_coder.aider_commit_hashes,
|
aider_commit_hashes=from_coder.aider_commit_hashes,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue