mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Added --no-git
This commit is contained in:
parent
5c432592cd
commit
b5b0c1cbc2
2 changed files with 11 additions and 1 deletions
|
@ -90,6 +90,7 @@ class Coder:
|
|||
verbose=False,
|
||||
assistant_output_color="blue",
|
||||
stream=True,
|
||||
use_git=True,
|
||||
):
|
||||
self.verbose = verbose
|
||||
self.abs_fnames = set()
|
||||
|
@ -123,7 +124,8 @@ class Coder:
|
|||
|
||||
self.commands = Commands(self.io, self)
|
||||
|
||||
self.set_repo(fnames)
|
||||
if use_git:
|
||||
self.set_repo(fnames)
|
||||
|
||||
if self.repo:
|
||||
rel_repo_dir = os.path.relpath(self.repo.git_dir, os.getcwd())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue