packed_object_info_detail(): do not return a string
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 May 2011 23:50:29 +0000 (16:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 May 2011 05:13:34 +0000 (22:13 -0700)
commitb9a62cbeb91e52aea8fc427a84e72f475dfe60cf
tree3ff64286b90eb6df7821309f0b69866fe406bbfd
parent02071b27f1587c65ddc4779017a3ddceb777de9c
packed_object_info_detail(): do not return a string

Instead return an integer that can be given to typename() if
the caller wants a string, just like everybody else does.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/verify-pack.c
cache.h
sha1_file.c