Code

[PATCH] Teach ls-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)
commit23b127ed085cbe2f853ce63b53c732a7b9e6de74
tree535dc82ef2cd11594f52bf36449effe9c7cd0d8a
parentc1fdf2a6abb6a7c5b8092d72514264ae378d60ee
[PATCH] Teach ls-tree about commit objects

Updates ls-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>
ls-tree.c