mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
bugfix
This commit is contained in:
parent
0e56ac6a70
commit
9ab21d36a6
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ class Coder:
|
||||||
def auto_commit(self):
|
def auto_commit(self):
|
||||||
context = self.get_context_from_history(self.cur_messages)
|
context = self.get_context_from_history(self.cur_messages)
|
||||||
res = self.repo.commit(context=context, prefix="aider: ")
|
res = self.repo.commit(context=context, prefix="aider: ")
|
||||||
if not res:
|
if res:
|
||||||
commit_hash, commit_message = res
|
commit_hash, commit_message = res
|
||||||
self.last_aider_commit_hash = commit_hash
|
self.last_aider_commit_hash = commit_hash
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue