mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
noop
This commit is contained in:
parent
4cbdb9b9ad
commit
06a58b84bb
1 changed files with 2 additions and 2 deletions
|
@ -193,6 +193,8 @@ class Coder:
|
||||||
|
|
||||||
def should_auto_commit(self, inp):
|
def should_auto_commit(self, inp):
|
||||||
is_commit_command = inp and inp.startswith("/commit")
|
is_commit_command = inp and inp.startswith("/commit")
|
||||||
|
if is_commit_command:
|
||||||
|
return
|
||||||
|
|
||||||
if not self.auto_commits:
|
if not self.auto_commits:
|
||||||
return
|
return
|
||||||
|
@ -200,8 +202,6 @@ class Coder:
|
||||||
return
|
return
|
||||||
if not self.repo.is_dirty():
|
if not self.repo.is_dirty():
|
||||||
return
|
return
|
||||||
if is_commit_command:
|
|
||||||
return
|
|
||||||
if self.last_asked_for_commit_time >= self.get_last_modified():
|
if self.last_asked_for_commit_time >= self.get_last_modified():
|
||||||
return
|
return
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue