mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
Added --dirty-commits
This commit is contained in:
parent
a2fa4f2929
commit
4c76a8a242
3 changed files with 15 additions and 2 deletions
|
@ -133,6 +133,8 @@ def main(args=None, input=None, output=None):
|
|||
action="store_true",
|
||||
dest="dirty_commits",
|
||||
help="Enable dirty commit of changes",
|
||||
env_var=f"{env_prefix}DIRTY_COMMIT",
|
||||
default=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
|
@ -204,7 +206,7 @@ def main(args=None, input=None, output=None):
|
|||
use_ctags=args.ctags,
|
||||
verbose=args.verbose,
|
||||
)
|
||||
if args.auto_commits:
|
||||
if args.dirty_commits:
|
||||
coder.commit(ask=True, prefix="wip: ", which="repo_files")
|
||||
|
||||
if args.apply:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue