mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
copy
This commit is contained in:
parent
9cf672b428
commit
f5b5a3511b
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ class Commands:
|
||||||
# Get the current HEAD after undo
|
# Get the current HEAD after undo
|
||||||
current_head_hash = self.coder.repo.repo.head.commit.hexsha[:7]
|
current_head_hash = self.coder.repo.repo.head.commit.hexsha[:7]
|
||||||
current_head_message = self.coder.repo.repo.head.commit.message.strip()
|
current_head_message = self.coder.repo.repo.head.commit.message.strip()
|
||||||
self.io.tool_output(f"HEAD is: {current_head_hash} {current_head_message}")
|
self.io.tool_output(f"Now at: {current_head_hash} {current_head_message}")
|
||||||
|
|
||||||
if self.coder.main_model.send_undo_reply:
|
if self.coder.main_model.send_undo_reply:
|
||||||
return prompts.undo_command_reply
|
return prompts.undo_command_reply
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue