aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-10-20 14:45:21 -0400
committerJunio C Hamano <junkio@cox.net>2006-10-20 16:51:46 -0700
commit2d477051ef260aad352d63fc7d9c07e4ebb4359b (patch)
tree75704920a44a6d286209fce9a132884850928358 /cache.h
parent3c552873c698117689af4e5159c7e491fe3a89a3 (diff)
downloadgit-2d477051ef260aad352d63fc7d9c07e4ebb4359b.tar.gz
git-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 'cache.h')
0 files changed, 0 insertions, 0 deletions