From 9ab21d36a636f4ee0386c06594cc7f55839e4245 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 22 Jul 2023 09:47:54 -0300 Subject: [PATCH] bugfix --- aider/coders/base_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index e54fb1087..d4bdcf504 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -799,7 +799,7 @@ class Coder: def auto_commit(self): context = self.get_context_from_history(self.cur_messages) res = self.repo.commit(context=context, prefix="aider: ") - if not res: + if res: commit_hash, commit_message = res self.last_aider_commit_hash = commit_hash