[PATCH 0/3] Teach git diff-tree --stdin to diff trees
- From
Karl Hasselström <kha@treskal.com>
- Date
- Aug 8, 2008, 20:48 UTC
- Message-ID
- <20080808204348.7744.46006.stgit@yoghurt>
- In-Reply-To
- <7vbq06rwhq.fsf@gitster.siamese.dyndns.org>
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_stdinDocumentation/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@treskal.com
www.treskal.com/kalle