mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Handle additional Git errors in repo check
This commit is contained in:
parent
3146d285bf
commit
c24ec7f230
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def guessed_wrong_repo(io, git_root, fnames, git_dname):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
check_repo = Path(GitRepo(io, fnames, git_dname).root).resolve()
|
check_repo = Path(GitRepo(io, fnames, git_dname).root).resolve()
|
||||||
except FileNotFoundError:
|
except (OSError,) + ANY_GIT_ERROR:
|
||||||
return
|
return
|
||||||
|
|
||||||
# we had no guess, rely on the "true" repo result
|
# we had no guess, rely on the "true" repo result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue