add get_size_from_delta()
authorNicolas Pitre <nico@cam.org>
Mon, 16 Apr 2007 16:31:56 +0000 (12:31 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 17 Apr 2007 00:43:31 +0000 (17:43 -0700)
commit54dab52ae8518da67e271b5b3a1f91af1fd5e314
tree2f10fb0679ec67b846800ca0e5223a5800baf43a
parenta3fbf4dfe1bf2386add261dc7c2809b652b5f9ae
add get_size_from_delta()

... which consists of existing code split out of packed_delta_info()
for other callers to use it as well.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
sha1_file.c