From e3ad45f34ebe5a32ca2e4a505be2e86bfd37aa35 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 10 Aug 2024 11:08:39 -0700 Subject: [PATCH] feat: change attribute_commit_message to attribute_commit_message_author --- aider/repo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/repo.py b/aider/repo.py index 452831065..8122df748 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -29,7 +29,7 @@ class GitRepo: models=None, attribute_author=True, attribute_committer=True, - attribute_commit_message=False, + attribute_commit_message_author=False, attribute_commit_message_committer=False, commit_prompt=None, subtree_only=False, @@ -42,7 +42,7 @@ class GitRepo: self.attribute_author = attribute_author self.attribute_committer = attribute_committer - self.attribute_commit_message = attribute_commit_message + self.attribute_commit_message_author = attribute_commit_message_author self.attribute_commit_message_committer = attribute_commit_message_committer self.commit_prompt = commit_prompt self.subtree_only = subtree_only @@ -100,7 +100,7 @@ class GitRepo: else: commit_message = self.get_commit_message(diffs, context) - if aider_edits and self.attribute_commit_message: + if aider_edits and self.attribute_commit_message_author: commit_message = "aider: " + commit_message elif self.attribute_commit_message_committer: commit_message = "aider: " + commit_message