apchamberlain / undo-tree.el

Visualize Emacs undo information as a graphical tree and navigate to previous states
20 stars 0 forks source link

[suggestion] Generate diff from two selected states in visualize #4

Closed Schievel1 closed 9 months ago

Schievel1 commented 9 months ago

Love this package. It really is pretty awesome, and I use undo-tree-visualize every day.

I write many patches for packages, and I usually do this by making the project directory a git repo if it is not already, check everything in, commit, do my changes, try them, commit again, generate patches using git. It's tedious. So today, when I was writing some patches again, and I was using undo-tree, it crossed my mind that undo-tree is already displaying diffs in visualize. It would be really great, if undo-tree would just generate those patches. :)

So, what I imagine a some functionality to select two states in undo-tree-visualize, then have a function to generate the diff between those two states. What do you think? Is this somewhat reasonable to implement?

Schievel1 commented 9 months ago

just realized this is the wrong repo