mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +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:
|
if self.show_diffs:
|
||||||
self.commands.cmd_diff()
|
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(
|
return self.gpt_prompts.files_content_gpt_edits.format(
|
||||||
hash=commit_hash,
|
hash=commit_hash,
|
||||||
message=commit_message,
|
message=commit_message,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue