refactor: improve error handling for git version check

This commit is contained in:
Paul Gauthier 2024-09-09 13:44:02 -07:00 committed by Paul Gauthier (aider)
parent 00f42590c8
commit bd21122e64
2 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,7 @@ from aider.sendchat import simple_send_with_retries
from .dump import dump # noqa: F401
ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, AssertionError)
ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError)
class GitRepo: