mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Adopt abs_root_path
This commit is contained in:
parent
1c1411b506
commit
143ded6722
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class Commands:
|
|||
matched_files = [word]
|
||||
|
||||
for matched_file in matched_files:
|
||||
abs_file_path = str((Path(self.coder.root) / matched_file).resolve())
|
||||
abs_file_path = self.coder.abs_root_path(matched_file)
|
||||
|
||||
if self.coder.repo and matched_file not in git_files:
|
||||
self.coder.repo.git.add(abs_file_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue