[PATCH] git-cat-file: '-s' to find out object size.
authorJunio C Hamano <junkio@cox.net>
Tue, 28 Jun 2005 06:59:18 +0000 (23:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 15:53:22 +0000 (08:53 -0700)
commit62bb99606d0377fc14f206cbdf95acb57149d87a
tree463ce7f35f9b5979b4e8c94a575a00ce8a34720f
parentf2a06330f0bc259b9c7faa029d2d4dace8f4956b
[PATCH] git-cat-file: '-s' to find out object size.

We use sha1_object_info() now, and getting size is also trivial.

I admit that this is more of "because we can" not "because I see
immediate need for it", though.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/git-cat-file.txt
cat-file.c