mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
rename
This commit is contained in:
parent
ab5a6e2c19
commit
4727e5c616
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ class Coder:
|
||||||
except EOFError:
|
except EOFError:
|
||||||
return
|
return
|
||||||
|
|
||||||
def should_auto_commit(self, inp):
|
def should_dirty_commit(self, inp):
|
||||||
is_commit_command = inp and inp.startswith("/commit")
|
is_commit_command = inp and inp.startswith("/commit")
|
||||||
if is_commit_command:
|
if is_commit_command:
|
||||||
return
|
return
|
||||||
|
@ -272,7 +272,7 @@ class Coder:
|
||||||
|
|
||||||
self.num_control_c = 0
|
self.num_control_c = 0
|
||||||
|
|
||||||
if self.should_auto_commit(inp):
|
if self.should_dirty_commit(inp):
|
||||||
self.commit(ask=True, which="repo_files")
|
self.commit(ask=True, which="repo_files")
|
||||||
|
|
||||||
# files changed, move cur messages back behind the files messages
|
# files changed, move cur messages back behind the files messages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue