summaryrefslogtreecommitdiff
path: root/unpack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-06-28 06:58:45 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-28 15:53:21 (GMT)
commitf2a06330f0bc259b9c7faa029d2d4dace8f4956b (patch)
treec508d4f45105cf1b989f76097ef49bb6fc298708 /unpack-objects.c
parent5db47c2bb3b7e77fd32aeef12b6f6de8d14cb43b (diff)
downloadgit-f2a06330f0bc259b9c7faa029d2d4dace8f4956b.zip
git-f2a06330f0bc259b9c7faa029d2d4dace8f4956b.tar.gz
git-f2a06330f0bc259b9c7faa029d2d4dace8f4956b.tar.bz2
[PATCH] git-cat-file: use sha1_object_info() on '-t'.
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>
Diffstat (limited to 'unpack-objects.c')
0 files changed, 0 insertions, 0 deletions