From eced076602f9cf297d5b1b93557b3913b13bb8e2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 9 Sep 2024 13:46:03 -0700 Subject: [PATCH] feat: add IndexError to ANY_GIT_ERROR tuple in repo.py --- aider/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/repo.py b/aider/repo.py index 7416c4d40..7375cc654 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -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: