mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
fix: Handle missing git module gracefully
This commit is contained in:
parent
65555b5dd0
commit
f62ef34715
4 changed files with 36 additions and 11 deletions
|
@ -3,7 +3,11 @@
|
|||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import git
|
||||
try:
|
||||
import git
|
||||
except ImportError:
|
||||
git = None
|
||||
|
||||
from diff_match_patch import diff_match_patch
|
||||
from tqdm import tqdm
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue