Skip to content

Commit

Permalink
fix: Handle additional Git errors in repo check
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Oct 7, 2024
1 parent 3146d28 commit c24ec7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aider/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def guessed_wrong_repo(io, git_root, fnames, git_dname):

try:
check_repo = Path(GitRepo(io, fnames, git_dname).root).resolve()
except FileNotFoundError:
except (OSError,) + ANY_GIT_ERROR:
return

# we had no guess, rely on the "true" repo result
Expand Down

0 comments on commit c24ec7f

Please sign in to comment.