mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
fix: Clear lines of interest instead of clearing the entire context
This commit is contained in:
parent
bb4ee1a221
commit
30af7f68bd
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ class RepoMap:
|
||||||
self.tree_context_cache[rel_fname] = context
|
self.tree_context_cache[rel_fname] = context
|
||||||
|
|
||||||
context = self.tree_context_cache[rel_fname]
|
context = self.tree_context_cache[rel_fname]
|
||||||
context.clear_lines_of_interest()
|
context.lines_of_interest = set()
|
||||||
context.add_lines_of_interest(lois)
|
context.add_lines_of_interest(lois)
|
||||||
context.add_context()
|
context.add_context()
|
||||||
res = context.format()
|
res = context.format()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue