mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Support worktrees
This commit is contained in:
parent
c0bf25d05b
commit
6398e5ef18
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class Coder:
|
|||
fname.touch()
|
||||
|
||||
try:
|
||||
repo_path = git.Repo(fname, search_parent_directories=True).git_dir
|
||||
repo_path = git.Repo(fname, search_parent_directories=True).working_dir
|
||||
repo_paths.append(repo_path)
|
||||
except git.exc.InvalidGitRepositoryError:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue