diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-24 14:54:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-24 14:54:28 -0700 |
commit | 9e8c7542cb1307b0a23c8bdc2a8e039ab6f11b17 (patch) | |
tree | a7a252a7c173d8eca3d455c1c329687bf5b295d3 /midx.c | |
parent | a654836d96aced223bfbee57bd2ac1989eb6d77f (diff) | |
parent | 1eb22c7dd803fc05513fde0bd96befeb8c725e05 (diff) | |
download | git-9e8c7542cb1307b0a23c8bdc2a8e039ab6f11b17.tar.gz |
Merge branch 'ds/midx-repack-to-batch-size'
The "--batch-size" option of "git multi-pack-index repack" command
is now used to specify that very small packfiles are collected into
one until the total size roughly exceeds it.
* ds/midx-repack-to-batch-size:
multi-pack-index: repack batches below --batch-size
Diffstat (limited to 'midx.c')
-rw-r--r-- | midx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1394,7 +1394,7 @@ static int fill_included_packs_batch(struct repository *r, free(pack_info); - if (total_size < batch_size || packs_to_repack < 2) + if (packs_to_repack < 2) return 1; return 0; |