mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refactor: implement cmd_diff and fix error message
This commit is contained in:
parent
3a78f217b2
commit
d68aff6c6b
1 changed files with 3 additions and 4 deletions
|
@ -517,13 +517,12 @@ class Commands:
|
|||
if self.coder.main_model.send_undo_reply:
|
||||
return prompts.undo_command_reply
|
||||
|
||||
def cmd_diff(self, *args, **kwargs):
|
||||
def cmd_diff(self, args=""):
|
||||
"Display the diff of changes since the last message"
|
||||
try:
|
||||
# todo
|
||||
pass
|
||||
self.cmd_diff_raw(args)
|
||||
except ANY_GIT_ERROR as err:
|
||||
self.io.tool_error(f"Unable to complete {cmd_name}: {err}")
|
||||
self.io.tool_error(f"Unable to complete diff: {err}")
|
||||
|
||||
|
||||
def cmd_diff_raw(self, args=""):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue