diff --git a/aider/repo.py b/aider/repo.py index ccafd629b..dd8b6f113 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -8,6 +8,7 @@ try: ANY_GIT_ERROR = [ git.exc.ODBError, git.exc.GitError, + git.exc.InvalidGitRepositoryError, ] except ImportError: git = None