The --no-auto-commits flag implies --no-dirty-commits

This commit is contained in:
Paul Gauthier 2023-06-05 22:13:20 -07:00
parent 4727e5c616
commit c44cc12b42
2 changed files with 6 additions and 1 deletions

View file

@ -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