The actual programming/diffing part of showing git diffs within Leo seems well within reach. However, that's not the most important task at hand.
We could imagine adding a git-diff command to Leo. This command would show the outline-oriented diff of the selected @<file> tree against the last commit. But this would be way too restrictive. What about diffs against HEAD~2, against commits defined in other ways, against other branches, etc. etc.? At the other end of the design spectrum, we could consider building a Leonine diff viewer into gitk. I use gitk all the time, and I think a Leonine diff view would be super. I'm going to study the gitk sources (part of the git distro) to see how they work. That may give me ideas for bypassing gitpython. And we shouldn't forget git hooks. Could they provide an "in" for Leonine git diffing? Your comments and ideas, please, Amigos. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.