mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
wip: Added a check to skip auto commits if auto_commits is False.
This commit is contained in:
parent
0213c4344a
commit
ea05c00bd1
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,9 @@ class Coder:
|
|||
if not edited:
|
||||
return
|
||||
|
||||
if not self.auto_commits:
|
||||
return
|
||||
|
||||
res = self.commit(history=self.cur_messages, prefix="aider: ")
|
||||
if res:
|
||||
commit_hash, commit_message = res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue