Code

Refactoring: Split up diff_tree_stdin
authorKarl Hasselström <kha@treskal.com>
Fri, 8 Aug 2008 20:48:23 +0000 (22:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Aug 2008 08:35:47 +0000 (01:35 -0700)
commita57114c81832a70efda4991131b9b99d1b112ea3
tree1f536ad1dc8f3c228535b60630cb644cc5773d37
parent71b9979bc74b66c1cf961d5c74de5c0b3cbf00a4
Refactoring: Split up diff_tree_stdin

Into a first half that determines what operation to do, and a second
half that does it.

Currently the only operation is diffing one or more commits, but a
later patch will add diffing of trees, at which point this refactoring
will pay off.

Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-diff-tree.c