This commit is contained in:
Paul Gauthier 2024-08-10 10:19:15 -07:00
parent 8769f31640
commit 20271454c3
7 changed files with 9 additions and 8 deletions

View file

@ -361,7 +361,7 @@ def get_parser(default_config_files, git_root):
"--attribute-commit-message",
action=argparse.BooleanOptionalAction,
default=False,
help="Prefix commit messages with 'aider: ' (default: False)",
help="Prefix commit messages with 'aider: ' if aider authored the changes (default: False)",
)
group.add_argument(
"--commit",

View file

@ -170,7 +170,7 @@
## Attribute aider commits in the git committer name (default: True)
#attribute-committer: true
## Prefix commit messages with 'aider: ' (default: False)
## Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
#attribute-commit-message: false
## Commit all pending changes with a suitable commit message, then exit

View file

@ -174,7 +174,7 @@
## Attribute aider commits in the git committer name (default: True)
#AIDER_ATTRIBUTE_COMMITTER=true
## Prefix commit messages with 'aider: ' (default: False)
## Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Commit all pending changes with a suitable commit message, then exit

View file

@ -209,7 +209,7 @@ cog.outl("```")
## Attribute aider commits in the git committer name (default: True)
#attribute-committer: true
## Prefix commit messages with 'aider: ' (default: False)
## Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
#attribute-commit-message: false
## Commit all pending changes with a suitable commit message, then exit

View file

@ -216,7 +216,7 @@ cog.outl("```")
## Attribute aider commits in the git committer name (default: True)
#AIDER_ATTRIBUTE_COMMITTER=true
## Prefix commit messages with 'aider: ' (default: False)
## Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Commit all pending changes with a suitable commit message, then exit

View file

@ -332,7 +332,7 @@ Aliases:
- `--no-attribute-committer`
### `--attribute-commit-message`
Prefix commit messages with 'aider: ' (default: False)
Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
Default: False
Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE`
Aliases:

View file

@ -55,5 +55,6 @@ Aider marks commits that it either authored or committed.
You can use `--no-attribute-author` and `--no-attribute-committer` to disable
modification of the git author and committer name fields.
Additionally, you can use `--attribute-commit-message` to prefix commit messages with 'aider: '.
This option is disabled by default, but can be useful for easily identifying commits made by aider.
Additionally, you can use `--attribute-commit-message` to have
aider prefix commit messages with 'aider: ' if it has authored the changes.
This option is disabled by default, but can be useful for easily identifying changes made by aider.