Display the diff of changes since the last message
(self, args="")
| 655 | return prompts.undo_command_reply |
| 656 | |
| 657 | def cmd_diff(self, args=""): |
| 658 | "Display the diff of changes since the last message" |
| 659 | try: |
| 660 | self.raw_cmd_diff(args) |
| 661 | except ANY_GIT_ERROR as err: |
| 662 | self.io.tool_error(f"Unable to complete diff: {err}") |
| 663 | |
| 664 | def raw_cmd_diff(self, args=""): |
| 665 | if not self.coder.repo: |