diff options
author | Nicolas Pitre <nico@cam.org> | 2006-10-20 14:45:21 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-20 16:51:46 -0700 |
commit | 2d477051ef260aad352d63fc7d9c07e4ebb4359b (patch) | |
tree | 75704920a44a6d286209fce9a132884850928358 /Documentation | |
parent | index-pack: compare only the first 20-bytes of the key. (diff) | |
download | tgif-2d477051ef260aad352d63fc7d9c07e4ebb4359b.tar.xz |
add the capability for index-pack to read from a stream
This patch only adds the streaming capability to index-pack. Although
the code is different it has the exact same functionality as before to
make sure nothing broke.
This is in preparation for receiving packs over the net, parse them on
the fly, fix them up if they are "thin" packs, and keep the resulting
pack instead of exploding it into loose objects. But such functionality
should come separately.
One immediate advantage of this patch is that index-pack can now deal
with packs up to 4GB in size even on 32-bit architectures since the pack
is not entirely mmap()'d all at once anymore.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions