From: Dana How Date: Sun, 08 Apr 2007 23:19:33 GMT Subject: [PATCH 1/8] git-repack --max-pack-size: Add new file statics and struct fields Message-ID: <46197885.3060502@gmail.com> This adds "offset_limit", which will contain the limit specified by --max-pack-size, "written_list", the actual list of objects written to the current pack, and "nr_written", the number of objects in written_list. "prev_pack" is added to struct object_entry to indicate when an object has already been written but to a previous pack. The fields in object_entry are re-arranged & shrunk to save memory. Signed-off-by: Dana How --- builtin-pack-objects.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 45ac3e4..64318b3 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -21,18 +21,15 @@ git-pack-objects [{ -q | --progress | --all-progress }] \n\ [