feat: Add --attribute-commit-message-committer and pass to Repo

This commit is contained in:
Paul Gauthier (aider) 2024-08-10 11:09:28 -07:00
parent e3ad45f34e
commit 58d401cb22
2 changed files with 9 additions and 2 deletions

View file

@ -358,11 +358,17 @@ def get_parser(default_config_files, git_root):
help="Attribute aider commits in the git committer name (default: True)",
)
group.add_argument(
"--attribute-commit-message",
"--attribute-commit-message-author",
action=argparse.BooleanOptionalAction,
default=False,
help="Prefix commit messages with 'aider: ' if aider authored the changes (default: False)",
)
group.add_argument(
"--attribute-commit-message-committer",
action=argparse.BooleanOptionalAction,
default=False,
help="Prefix all commit messages with 'aider: ' (default: False)",
)
group.add_argument(
"--commit",
action="store_true",