diff --git a/aider/repo.py b/aider/repo.py index b90b946cb..b0ff1dd91 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -10,7 +10,15 @@ from aider.sendchat import simple_send_with_retries from .dump import dump # noqa: F401 -ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, IndexError, BufferError, TypeError) +ANY_GIT_ERROR = ( + git.exc.ODBError, + git.exc.GitError, + OSError, + IndexError, + BufferError, + TypeError, + ValueError, +) class GitRepo: