mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +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()
|
fname.touch()
|
||||||
|
|
||||||
try:
|
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)
|
repo_paths.append(repo_path)
|
||||||
except git.exc.InvalidGitRepositoryError:
|
except git.exc.InvalidGitRepositoryError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue