Merge branch 'mh/fast-import-raise-default-depth'
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2017 21:15:23 +0000 (14:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2017 21:15:23 +0000 (14:15 -0700)
"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

Documentation/git-fast-import.txt
fast-import.c
index 2b762654bf4779b8579bf9b17e75b4aa0322f789..3d3d219e58e5cc05b44c9e0675628bdbd9f0b07f 100644 (file)
@@ -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
index 9a22fc92c0d029cf2a1362ea846f75f59978e870..fc2b22033b0f5748adbc173b6099fa7347bb9088 100644 (file)
@@ -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;