From b3e5caf33097f411c9d3902b258377a5c7370f69 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 20 Sep 2024 12:39:33 -0700 Subject: [PATCH] fix: Add BufferError to ANY_GIT_ERROR tuple --- aider/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/repo.py b/aider/repo.py index 12b94fcd0..87fd2fbfb 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, IndexError) +ANY_GIT_ERROR = (git.exc.ODBError, git.exc.GitError, OSError, IndexError, BufferError) class GitRepo: