Added --attribute-author/committer options #698

This commit is contained in:
Paul Gauthier 2024-06-21 17:14:03 -07:00
parent 8c5c2d27a4
commit c207c7839a
4 changed files with 60 additions and 19 deletions

View file

@ -218,6 +218,8 @@ class Coder:
auto_test=False,
lint_cmds=None,
test_cmd=None,
attribute_author=True,
attribute_committer=True,
):
if not fnames:
fnames = []
@ -275,6 +277,8 @@ class Coder:
git_dname,
aider_ignore_file,
models=main_model.commit_message_models(),
attribute_author=attribute_author,
attribute_committer=attribute_committer,
)
self.root = self.repo.root
except FileNotFoundError: