aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-fast-import.txt
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2016-04-25 21:17:28 +0000
committerJunio C Hamano <gitster@pobox.com>2016-05-11 14:56:00 -0700
commitd9545c7f465ed103df44cd93caddfdd265757779 (patch)
tree6761dd88c70a108724c3db033689d328a8d1f5b4 /Documentation/git-fast-import.txt
parent6a6636270fbaf74609cd3e1bd207dd2c420d640a (diff)
downloadgit-d9545c7f465ed103df44cd93caddfdd265757779.tar.gz
git-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 'Documentation/git-fast-import.txt')
-rw-r--r--Documentation/git-fast-import.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 66910aa2f..644df993f 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -136,6 +136,8 @@ Performance and Compression Tuning
Maximum size of each output packfile.
The default is unlimited.
+fastimport.unpackLimit::
+ See linkgit:git-config[1]
Performance
-----------