[PATCH] Teach diff-tree about commit objects
authorJunio C Hamano <junkio@cox.net>
Thu, 21 Apr 2005 01:06:50 +0000 (18:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 01:06:50 +0000 (18:06 -0700)
commitc1fdf2a6abb6a7c5b8092d72514264ae378d60ee
treed32447a96642a513e7ba83d8c88d86a33061db78
parent38357e6703db9f2c1bff31de1ce7c7503c6db96a
[PATCH] Teach diff-tree about commit objects

Updates diff-tree.c to use read_tree_with_tree_or_commit_sha1()
function.  The command can take either tree or commit IDs with this patch.

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