summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-22 21:15:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-22 21:15:23 (GMT)
commitf77149c2fbf4257ce40bed4f6855182650a50226 (patch)
treebf93c89930742ecc7d33f30eaf5146f855c547cf
parent56585a2caf12934382aee9f625e14dca0ba95ab9 (diff)
parent4f2220e606a52e891915540523d5d03aaa2dbc8f (diff)
downloadgit-f77149c2fbf4257ce40bed4f6855182650a50226.zip
git-f77149c2fbf4257ce40bed4f6855182650a50226.tar.gz
git-f77149c2fbf4257ce40bed4f6855182650a50226.tar.bz2
Merge branch 'mh/fast-import-raise-default-depth'
"fast-import" uses a default pack chain depth that is consistent with other parts of the system. * mh/fast-import-raise-default-depth: fast-import: increase the default pack depth to 50
-rw-r--r--Documentation/git-fast-import.txt2
-rw-r--r--fast-import.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 2b76265..3d3d219 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -121,7 +121,7 @@ Performance and Compression Tuning
--depth=<n>::
Maximum delta depth, for blob and tree deltification.
- Default is 10.
+ Default is 50.
--export-pack-edges=<file>::
After creating a packfile, print a line of data to
diff --git a/fast-import.c b/fast-import.c
index 9a22fc9..fc2b220 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -280,7 +280,7 @@ struct recent_command {
};
/* Configured limits on output */
-static unsigned long max_depth = 10;
+static unsigned long max_depth = 50;
static off_t max_packsize;
static int unpack_limit = 100;
static int force_update;