Here's two patches that implements diffing of trees: first a refactoring, then the actual functionality. I'm not familiar with git's API, so I might have made mistakes in choosing or using functions. Extra eyeballs appreciated. But the test suite passes, it does what I want, and it does make StGit faster, so _I'm_ happy ... --- Karl Hasselström (3): Add test for diff-tree --stdin with two trees Teach git diff-tree --stdin to diff trees Refactoring: Split up diff_tree_stdin Documentation/git-diff-tree.txt | 14 ++++++--- builtin-diff-tree.c | 58 +++++++++++++++++++++++++++++++-------- t/t4002-diff-basic.sh | 14 +++++++++ 3 files changed, 69 insertions(+), 17 deletions(-) -- Karl Hasselström, kha@xxxxxxxxxxx www.treskal.com/kalle -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html