show a hint about /undo after each commit

This commit is contained in:
Paul Gauthier 2024-07-29 08:07:39 -03:00
parent 83c9213ac7
commit fd935d8534

View file

@ -1509,6 +1509,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.")
return self.gpt_prompts.files_content_gpt_edits.format(
hash=commit_hash,
message=commit_message,