mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
The --no-auto-commits flag implies --no-dirty-commits
This commit is contained in:
parent
4727e5c616
commit
c44cc12b42
2 changed files with 6 additions and 1 deletions
|
@ -63,8 +63,13 @@ class Coder:
|
|||
self.done_messages = []
|
||||
|
||||
self.io = io
|
||||
|
||||
if not auto_commits:
|
||||
dirty_commits = False
|
||||
|
||||
self.auto_commits = auto_commits
|
||||
self.dirty_commits = dirty_commits
|
||||
|
||||
self.dry_run = dry_run
|
||||
self.pretty = pretty
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ def main(args=None, input=None, output=None):
|
|||
"--no-auto-commits",
|
||||
action="store_false",
|
||||
dest="auto_commits",
|
||||
help="Disable auto commit of GPT changes",
|
||||
help="Disable auto commit of GPT changes (implies --no-dirty-commits)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dirty-commits",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue