mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
catch all git.exc.ODBError
This commit is contained in:
parent
c32a991b2c
commit
72c9ac460b
5 changed files with 9 additions and 9 deletions
|
@ -484,7 +484,7 @@ def git_cherry_pick_osr_onto_o(texts):
|
|||
# cherry pick R onto original
|
||||
try:
|
||||
repo.git.cherry_pick(replace_hash, "--minimal")
|
||||
except git.exc.GitCommandError:
|
||||
except git.exc.ODBError:
|
||||
# merge conflicts!
|
||||
return
|
||||
|
||||
|
@ -522,7 +522,7 @@ def git_cherry_pick_sr_onto_so(texts):
|
|||
# cherry pick replace onto original
|
||||
try:
|
||||
repo.git.cherry_pick(replace_hash, "--minimal")
|
||||
except git.exc.GitCommandError:
|
||||
except git.exc.ODBError:
|
||||
# merge conflicts!
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue