[PATCH] git-cat-file: use sha1_object_info() on '-t'.
authorJunio C Hamano <junkio@cox.net>
Tue, 28 Jun 2005 06:58:45 +0000 (23:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 15:53:21 +0000 (08:53 -0700)
When trying to find out the type of the object, there is no need
to uncompress the whole object. Just use sha1_object_info().

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
No differences found