From c73b987cd099cc73e1be17d3084df444b1e70491 Mon Sep 17 00:00:00 2001 From: "Andrew Grigorev (aider)" Date: Sat, 12 Apr 2025 17:32:57 +0300 Subject: [PATCH] fix: fix syntax error in commit logic --- aider/repo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider/repo.py b/aider/repo.py index efa0fda8c..5ad84d36d 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -177,6 +177,10 @@ class GitRepo: else self.attribute_commit_message_author ) attribute_commit_message_committer = ( + coder.args.attribute_commit_message_committer + if coder and hasattr(coder, "args") + else self.attribute_commit_message_committer + ) if not commit_message: commit_message = "(no commit message provided)"