diff options
author | Eric Wong <normalperson@yhbt.net> | 2016-04-25 21:17:28 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-11 14:56:00 -0700 |
commit | d9545c7f465ed103df44cd93caddfdd265757779 (patch) | |
tree | 6761dd88c70a108724c3db033689d328a8d1f5b4 /contrib/hooks/update-paranoid | |
parent | Prepare for 2.8.2 (diff) | |
download | tgif-d9545c7f465ed103df44cd93caddfdd265757779.tar.xz |
fast-import: implement unpack limit
With many incremental imports, small packs become highly
inefficient due to the need to readdir scan and load many
indices to locate even a single object. Frequent repacking and
consolidation may be prohibitively expensive in terms of disk
I/O, especially in large repositories where the initial packs
were aggressively optimized and marked with .keep files.
In those cases, users may be better served with loose objects
and relying on "git gc --auto".
This changes the default behavior of fast-import for small
imports found in test cases, so adjustments to t9300 were
necessary.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/update-paranoid')
0 files changed, 0 insertions, 0 deletions