mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
Implemented commit message attribution for Aider-generated edits.
This commit is contained in:
parent
0704810d31
commit
34e83f9580
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ class GitRepo:
|
|||
else:
|
||||
commit_message = self.get_commit_message(diffs, context)
|
||||
|
||||
if aider_edits and self.attribute_commit_message:
|
||||
commit_message = "aider: " + commit_message
|
||||
|
||||
if not commit_message:
|
||||
commit_message = "(no commit message provided)"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue