author | Dana L. How <danahow@gmail.com> | |
Sun, 13 May 2007 19:09:16 +0000 (12:09 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 May 2007 04:55:26 +0000 (21:55 -0700) | ||
commit | ebe27b137c971d6d436c8d2125296ee526f6d02b | |
tree | acf10a56dd849a7f585e084701a33329daea071e | tree | snapshot |
parent | 17b08f2cd0000d42bb9f0a36354ab9300d64d420 | commit | diff |
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>
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 | diff | blob | history |