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", "--attribute-commit-message",
action=argparse.BooleanOptionalAction, action=argparse.BooleanOptionalAction,
default=False, 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( group.add_argument(
"--commit", "--commit",

View file

@ -170,7 +170,7 @@
## Attribute aider commits in the git committer name (default: True) ## Attribute aider commits in the git committer name (default: True)
#attribute-committer: 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 #attribute-commit-message: false
## Commit all pending changes with a suitable commit message, then exit ## 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) ## Attribute aider commits in the git committer name (default: True)
#AIDER_ATTRIBUTE_COMMITTER=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 #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Commit all pending changes with a suitable commit message, then exit ## 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 aider commits in the git committer name (default: True)
#attribute-committer: 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 #attribute-commit-message: false
## Commit all pending changes with a suitable commit message, then exit ## 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) ## Attribute aider commits in the git committer name (default: True)
#AIDER_ATTRIBUTE_COMMITTER=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 #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Commit all pending changes with a suitable commit message, then exit ## Commit all pending changes with a suitable commit message, then exit

View file

@ -332,7 +332,7 @@ Aliases:
- `--no-attribute-committer` - `--no-attribute-committer`
### `--attribute-commit-message` ### `--attribute-commit-message`
Prefix commit messages with 'aider: ' (default: False) Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
Default: False Default: False
Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE` Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE`
Aliases: 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 You can use `--no-attribute-author` and `--no-attribute-committer` to disable
modification of the git author and committer name fields. modification of the git author and committer name fields.
Additionally, you can use `--attribute-commit-message` to prefix commit messages with 'aider: '. Additionally, you can use `--attribute-commit-message` to have
This option is disabled by default, but can be useful for easily identifying commits made by aider. 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.