feat: add co-authored-by commit attribution

This commit is contained in:
Andrew Grigorev (aider) 2025-04-12 16:52:45 +03:00
parent 028257480b
commit 67bb4f9552
3 changed files with 70 additions and 16 deletions

View file

@ -448,6 +448,12 @@ def get_parser(default_config_files, git_root):
default=False,
help="Prefix all commit messages with 'aider: ' (default: False)",
)
group.add_argument(
"--attribute-co-authored-by",
action=argparse.BooleanOptionalAction,
default=False,
help="Attribute aider edits using the Co-authored-by trailer in the commit message (default: False).",
)
group.add_argument(
"--git-commit-verify",
action=argparse.BooleanOptionalAction,