Make the "struct tree_desc" operations available to others
commit50f9a858ada10b3b57691a313a1c78b0bcbe5947
authorLinus Torvalds <torvalds@osdl.org>
Tue, 31 Jan 2006 22:10:56 +0000 (31 14:10 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 1 Feb 2006 00:07:01 +0000 (31 16:07 -0800)
tree17d66506c96ba46c8bb11eee97076c91f7a8e30e
parent1a5c3a01aad0d0f5d68ffcc1c33aafca9e253591
Make the "struct tree_desc" operations available to others

We have operations to "extract" and "update" a "struct tree_desc", but we
only used them in tree-diff.c and they were static to that file.

But other tree traversal functions can use them to their advantage

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.h
tree-diff.c