mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 13:15:00 +00:00
refactor: update method calls to match renamed raw command methods
This commit is contained in:
parent
aa98e43d59
commit
8d0f7daa3a
1 changed files with 3 additions and 3 deletions
|
@ -232,7 +232,7 @@ class Commands:
|
||||||
def cmd_commit(self, args=None):
|
def cmd_commit(self, args=None):
|
||||||
"Commit edits to the repo made outside the chat (commit message optional)"
|
"Commit edits to the repo made outside the chat (commit message optional)"
|
||||||
try:
|
try:
|
||||||
self.cmd_commit_raw(args)
|
self.raw_cmd_commit(args)
|
||||||
except ANY_GIT_ERROR as err:
|
except ANY_GIT_ERROR as err:
|
||||||
self.io.tool_error(f"Unable to complete commit: {err}")
|
self.io.tool_error(f"Unable to complete commit: {err}")
|
||||||
|
|
||||||
|
@ -429,7 +429,7 @@ class Commands:
|
||||||
def cmd_undo(self, args):
|
def cmd_undo(self, args):
|
||||||
"Undo the last git commit if it was done by aider"
|
"Undo the last git commit if it was done by aider"
|
||||||
try:
|
try:
|
||||||
self.cmd_undo_raw(args)
|
self.raw_cmd_undo(args)
|
||||||
except ANY_GIT_ERROR as err:
|
except ANY_GIT_ERROR as err:
|
||||||
self.io.tool_error(f"Unable to complete undo: {err}")
|
self.io.tool_error(f"Unable to complete undo: {err}")
|
||||||
|
|
||||||
|
@ -531,7 +531,7 @@ class Commands:
|
||||||
def cmd_diff(self, args=""):
|
def cmd_diff(self, args=""):
|
||||||
"Display the diff of changes since the last message"
|
"Display the diff of changes since the last message"
|
||||||
try:
|
try:
|
||||||
self.cmd_diff_raw(args)
|
self.raw_cmd_diff(args)
|
||||||
except ANY_GIT_ERROR as err:
|
except ANY_GIT_ERROR as err:
|
||||||
self.io.tool_error(f"Unable to complete diff: {err}")
|
self.io.tool_error(f"Unable to complete diff: {err}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue