mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix support for --no-git
This commit is contained in:
parent
d9b356de99
commit
caf58cf313
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ class Coder:
|
||||||
|
|
||||||
if use_git:
|
if use_git:
|
||||||
self.set_repo(fnames)
|
self.set_repo(fnames)
|
||||||
|
else:
|
||||||
|
self.abs_fnames = [str(Path(fname).resolve()) for fname in fnames]
|
||||||
|
|
||||||
if self.repo:
|
if self.repo:
|
||||||
rel_repo_dir = os.path.relpath(self.repo.git_dir, os.getcwd())
|
rel_repo_dir = os.path.relpath(self.repo.git_dir, os.getcwd())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue