fix: Handle GitCommandNotFound error

This commit is contained in:
Paul Gauthier 2025-03-31 10:50:01 +13:00 committed by Paul Gauthier (aider)
parent 258f1f0848
commit b662e6b9eb

View file

@ -9,6 +9,7 @@ try:
git.exc.ODBError,
git.exc.GitError,
git.exc.InvalidGitRepositoryError,
git.exc.GitCommandNotFound,
]
except ImportError:
git = None