refactor: Add InvalidGitRepositoryError to ANY_GIT_ERROR list

This commit is contained in:
Paul Gauthier 2025-01-09 15:01:36 -08:00 committed by Paul Gauthier (aider)
parent b818d6a921
commit f047882ac1

View file

@ -8,6 +8,7 @@ try:
ANY_GIT_ERROR = [
git.exc.ODBError,
git.exc.GitError,
git.exc.InvalidGitRepositoryError,
]
except ImportError:
git = None