feat: add IndexError to ANY_GIT_ERROR tuple in repo.py

This commit is contained in:
Paul Gauthier 2024-09-09 13:46:03 -07:00 committed by Paul Gauthier (aider)
parent bd21122e64
commit eced076602

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)
ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, IndexError)
class GitRepo: