commit | bb6b8e4f877e8b59b3756960e29d1955072dab56 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Mon Jul 17 15:04:47 2006 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Tue Jul 25 14:15:48 2006 -0700 |
tree | ec8e3f2c7a91fd3b456ae046b92dbc5f5c1ac28a | |
parent | 96256bba949f43548a0be0af877680eb62b156f6 [diff] |
sha1_file.c: expose map_sha1_file() interface. This exposes map_sha1_file() interface to mmap a loose object file, and legacy_loose_object() function, split from unpack_sha1_header(). They will be used in the next patch to reuse the deflated data from new-style loose object files when generating packs. Signed-off-by: Junio C Hamano <junkio@cox.net>