commit | ebe27b137c971d6d436c8d2125296ee526f6d02b | [log] [tgz] |
---|---|---|
author | Dana L. How <danahow@gmail.com> | Sun May 13 12:09:16 2007 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Sun May 20 21:55:26 2007 -0700 |
tree | acf10a56dd849a7f585e084701a33329daea071e | |
parent | 17b08f2cd0000d42bb9f0a36354ab9300d64d420 [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>