mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Improve commit message display for /undo command
This commit is contained in:
parent
93a48e5a4c
commit
8543a97e76
1 changed files with 3 additions and 3 deletions
|
@ -1520,7 +1520,7 @@ class Coder:
|
|||
if self.show_diffs:
|
||||
self.commands.cmd_diff()
|
||||
|
||||
self.io.tool_output("You can use /undo to revert and discard the committed changes.")
|
||||
self.io.tool_output(f"You can use /undo to revert and discard commit {commit_hash}.")
|
||||
return self.gpt_prompts.files_content_gpt_edits.format(
|
||||
hash=commit_hash,
|
||||
message=commit_message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue