mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
fix: Add show_undo_hint method to display undo hint after committing changes
This commit is contained in:
parent
55d55c32b2
commit
82679ee66b
1 changed files with 1 additions and 0 deletions
|
@ -1661,6 +1661,7 @@ class Coder:
|
|||
if self.show_diffs:
|
||||
self.commands.cmd_diff()
|
||||
|
||||
def show_undo_hint(self):
|
||||
self.io.tool_output(f"You can use /undo to revert and discard commit {commit_hash}.")
|
||||
|
||||
def dirty_commit(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue