From bdd67eb229f9642c9b3dbecf48dbf5300cb2e766 Mon Sep 17 00:00:00 2001 From: wangboxue Date: Mon, 12 May 2025 11:50:56 +0800 Subject: [PATCH] fix: Fix #3987 Pass the coder object to repo.commit --- aider/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 37bcf0289..aaf6d7ddd 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -346,7 +346,7 @@ class Commands: return commit_message = args.strip() if args else None - self.coder.repo.commit(message=commit_message) + self.coder.repo.commit(message=commit_message, coder=self.coder) def cmd_lint(self, args="", fnames=None): "Lint and fix in-chat files or all dirty files if none in chat"