git-repack --max-pack-size: split packs as asked by write_{object,one}()
commitebe27b137c971d6d436c8d2125296ee526f6d02b
authorDana L. How <danahow@gmail.com>
Sun, 13 May 2007 19:09:16 +0000 (13 12:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 21 May 2007 04:55:26 +0000 (20 21:55 -0700)
treeacf10a56dd849a7f585e084701a33329daea071e
parent17b08f2cd0000d42bb9f0a36354ab9300d64d420
git-repack --max-pack-size: split packs as asked by write_{object,one}()

Rewrite write_pack_file() to break to a new packfile
whenever write_object/write_one request it,  and
correct the header's object count in the previous packfile.
Change write_index_file() to write an index
for just the objects in the most recent packfile.

Signed-off-by: Dana L. How <danahow@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c