Skip to content

Commit f77149c

Browse files
committed
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
2 parents 56585a2 + 4f2220e commit f77149c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-fast-import.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Performance and Compression Tuning
121121

122122
--depth=<n>::
123123
Maximum delta depth, for blob and tree deltification.
124-
Default is 10.
124+
Default is 50.
125125

126126
--export-pack-edges=<file>::
127127
After creating a packfile, print a line of data to

fast-import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ struct recent_command {
280280
};
281281

282282
/* Configured limits on output */
283-
static unsigned long max_depth = 10;
283+
static unsigned long max_depth = 50;
284284
static off_t max_packsize;
285285
static int unpack_limit = 100;
286286
static int force_update;

0 commit comments

Comments
 (0)